Forums / Templates, Stylesheets, Page Layout / Different Header Image for Category pages

Different Header Image for Category pages

Locked

Views: 854

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
4 Oct 2010, 3:10 AM
#1
lizmcreations avatar

lizmcreations

New Zenner

Join Date:
Oct 2010
Posts:
13
Plugin Contributions:
0

Different Header Image for Category pages

Hi Everyone,

I am new to working with Zencart. I'm setting it up for a client who is actually using it for two different "stores" or businesses - his and his wife's.

I have set-up a category for his products and a category for her products. I would like to have one header on his category page and a different header on her category page - but I'm not exactly sure where to look/what files I need to modify to do this. I understand that the header image is called in the stylesheet - and then in the tpl_header.php file ... but I'm not sure if there is a .php file that is the "template" for the category pages and then where I would need to specify the "template" for each category.

I've just updated to the most recent version of Zencart and I'm using the "nightfall" template package.

Any thoughts as to whether this is even possible ... or if I'm looking in the wrong place to be setting it up (perhaps I should be looking to EZPages and having each EZPage call the products from the different categories, but then I still don't know how to get a special header on each EZPage).

I do apologize if this has been answered elsewhere, I have not been able to find the information.

Thank you very much for your time and assistance.

Liz

4 Oct 2010, 11:53 AM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Different Header Image for Category pages

Smart Backgrounds would work for background images just by loading images with appropriate names, and putting corresponding rules in your stylesheet. To switch the actual logo would require a line of PHP code added to a PHP file (example in the readme).

4 Oct 2010, 1:32 PM
#4
lizmcreations avatar

lizmcreations

New Zenner

Join Date:
Oct 2010
Posts:
13
Plugin Contributions:
0

Re: Different Header Image for Category pages

thank you, thank you, thank you, thank you ..... I searched, but probably just not quite the right way (or in the right place) to find that.

:bigups:

Thank you very much!! That should do the trick perfectly! Now I'm off to install it and set it up!

Liz Martinez