Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2010
    Posts
    13
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Different Header Image for Category pages

    You might look at this:

    http://www.zen-cart.com/index.php?ma...roducts_id=832

    I haven't used it.

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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. #4
    Join Date
    Oct 2010
    Posts
    13
    Plugin Contributions
    0

    Default 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.



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

    Liz Martinez

 

 

Similar Threads

  1. change header image on non-main pages to a different image thats on my home
    By alcanlove in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Jul 2012, 11:22 PM
  2. Use Different Sub-Category Image on Products Listing Pages
    By pinksparklegirl in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 Aug 2011, 01:08 PM
  3. how to get different header for different pages? - Without CSS
    By markpr9 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 15 Apr 2009, 04:34 PM
  4. How do I Display a different header image on different pages?
    By maomaochong in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 6 Jul 2008, 06:29 AM
  5. Different background for category pages?
    By bluealice in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Oct 2007, 02:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg