Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2008
    Posts
    5
    Plugin Contributions
    0

    Default SubCat Icon different on Cat Page

    I would like to have the subcategory icons that display on the category page be different than the icon that displays at the top of the subcategory page.
    I use banner size icons on all category/subcategory pages. On the category page it shows a mini-copy of that banner. I would rather display a different icon than a mini size of the banner.

    You can see my category page at:
    http://awd1004.com/index.php?main_page=index&cPath=4

    Example where you see bracelets banner, i"d rather have a picture of a bracllet without changing the icon used on the bracelets subcategory

    All help is apprecated

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SubCat Icon different on Cat Page

    You could customize the module for category_row.php to use a different image such as for:
    mycategoryimagename.jpg

    use the image:
    mycategoryimagename_small.jpg

    Now you have the large image where you need it and the small image where you need it ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: SubCat Icon different on Cat Page

    Thanks. That definately will work. The images need to be read dynamically.. Any idea how that can be accomplished?

    I imagine the name and location of the second image version would need to be stored somewhere. Then the page taught how to dynamically retrieve that data.

    Any Ideas?

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: SubCat Icon different on Cat Page

    You would need to parse the current categories_image name and add the addition of the _small ...

    You might look at the module for the main_product_image.php and how it manages the products_image and see if you can gleen some hints from it for this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Trying To Change Cat/Subcat Display
    By scottdev in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Jul 2009, 04:16 PM
  2. Category heading on all cat /subcat pages?
    By needs_a_nap in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 11 Sep 2007, 04:26 AM
  3. Add SubCat to Cat w Prods
    By gcampos in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 24 Jun 2007, 07:05 PM
  4. Hide Subcat Link - use cat desc button
    By wolf99 in forum General Questions
    Replies: 0
    Last Post: 3 Mar 2007, 08:17 PM
  5. Master Cat's on main page, ONLY sub cat's on specific cat pages
    By wtashby in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 25 Jun 2006, 07:24 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