2 replies [Last post]
TheProducerV2's picture
Offline
Joined: 09/26/2007
Juice: 3
Was this information Helpful?

Hello!

I'm trying to edit the layout of the Ubercart Catalog layout page. I can't seem to do it with Content Templates Module, and aside from the basic PHPTemplate theming things (page.tpl.php), I have no clue how to do it.

Thanks for the help!

eugef@drupal.org's picture
Offline
Joined: 12/24/2007
Juice: 102
Re: Editing Catalog Page Layout

I have the same question!

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6846
Re: Editing Catalog Page Layout

Drupal allows you to override specific theme functions in situations where a template file doesn't work. You need to copy the function you want to change to your theme's template.php file. The particular function you need is theme_uc_catalog_browse() in uc_catalog.module. In the template.php file, rename it to yourtheme_uc_catalog_browse(), and make whatever changes you want. This lets you modify the theme of any piece of Drupal without modifying the source files directly.

For manufacturers, look for theme_uc_manufacturer().