Reduce the number of columns in catalog

Posts: 47
Joined: 01/20/2008
Bug Finder

By default the catalog displays three columns.

Is there any way I can change this to two?

I'm guessing it will probably be achieved by creating an overide in the template.php file (and creating a 2 column table), but I'm not sure what code to place in there to do it.
I have had a poke through the catalog module, and there doesn't seem to be anything obvious to include in template.php

Thanks

^_^

Posts: 924
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

admin/store/settings/catalog/edit

--

<tr>.

Posts: 47
Joined: 01/20/2008
Bug Finder

Hi

I am actually talking about the main catalog page (e.g. yousite.com/drupal/catalog).

admin/store/settings/catalog/edit only lets you change the catalog pages for each taxonomy category (e.g. yousite.com/drupal/catalog/11) .

^_^

Posts: 924
Joined: 11/05/2007
Bug FinderFAQ ModeratorGetting busy with the Ubercode.

Override theme_uc_catalog_browse() and change the value of max_gc_display from 3 to whatever you want. This should probably be a configuration parameter ...

Overriding theme functions is briefly discussed here: http://www.ubercart.org/faq/617

--

<tr>.