Thread: Sub-Category

Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2007
    Location
    Ontario, Canada
    Posts
    234
    Plugin Contributions
    0

    Default Sub-Category

    http://www.actionforms.ca/index_officesupplies.html is the site I am working on.

    I am trying to turn of the images for the sub category menu:

    I went to Admin -> Config -> Product List and set "Include Product Listing Sub Categories Image" to false, but the images are still appearing.

    I would also like to list them vertically, rather than horizontally. Is this a setting in admin or is it through the CSS.

    Thanks
    Colleen

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

    Default Re: Sub-Category

    For giggles and grins ... switch to the Classic Template ... does it work properly now?

    How about if you lose the Frames ... Zen Cart is really not made for Frames and it weakens your search engine potential as well ...
    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
    Feb 2007
    Location
    Ontario, Canada
    Posts
    234
    Plugin Contributions
    0

    Default Re: Sub-Category

    Smiles and Chuckles....I switched to Classic and when I click on hardware the icons are still showing.

    I actually had just put the frames there to see how it looked. Unfortunately it has to mesh with my current site and I'm not sure of a better way to do it. Most of my traffic is through paid advertising, so I specify the link. I would love any suggestions if you have any to better mesh it!!

    Thanks
    Colleen

  4. #4
    Join Date
    Feb 2007
    Location
    Ontario, Canada
    Posts
    234
    Plugin Contributions
    0

    Default Re: Sub-Category

    These images are still appearing when you click on a category (ie, when you click on hardware, the icon for CDROM drives, etc comes up.

    My site address changed and it is now at www.actionforms.ca/officesupplies
    Thanks, Colleen
    www.af-company.com
    To err is human, but to really foul things up requires a computer. Farmers' Almanac, 1978

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

    Default Re: Sub-Category

    Good grief ... we are talking about two different things ...

    You mean the Sub Category images when in a Category with subcategories *before* you get to the actual Products ...

    The one I was talking about controls whether or not you see the Categories Image when you see the List of Products when in a Top Level Category or in a SubCategory ...

    What you need to do is copy the file:
    /includes/modules/category_row.php

    to your templates and overrides directory:
    /includes/modules/your_template_dir/category_row.php

    And customize the code at about lines 39 to 40:
    PHP Code:
        $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' ' ' 'style="width:' $col_width '%;"',
                                               
    'text' => '<a href="' zen_href_link(FILENAME_DEFAULT$cPath_new) . '">' zen_image(DIR_WS_IMAGES $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTHSUBCATEGORY_IMAGE_HEIGHT) . '<br />' $categories->fields['categories_name'] . '</a>'); 
    To not include the image:
    PHP Code:
        $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' ' ' 'style="width:' $col_width '%;"',
                                               
    'text' => '<a href="' zen_href_link(FILENAME_DEFAULT$cPath_new) . '">' '<br />' $categories->fields['categories_name'] . '</a>'); 
    Hate when I lose my mind ...
    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!

  6. #6
    Join Date
    Feb 2007
    Location
    Ontario, Canada
    Posts
    234
    Plugin Contributions
    0

    Default Re: Sub-Category

    And I was trying to be such a good girl and not touch the code!

    Sorry I have a very bad habit of explaining myself very poorly.

    I'll try it tomorrow and I'll be back whining if I have problems.

    Appreciate the help!!

    P.S. Back on the frame subject started earlier, other than the pure annoyance of frames, are they likely to give me any problems with Zen Cart. Or do other have a better way of doing it.
    Last edited by margecc; 29 Mar 2007 at 06:13 PM. Reason: forgot to ask something
    Thanks, Colleen
    www.af-company.com
    To err is human, but to really foul things up requires a computer. Farmers' Almanac, 1978

 

 

Similar Threads

  1. How can I hide sub sub categories of a category in left sidebox?
    By X-Bumble in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 15 Feb 2012, 07:11 PM
  2. Millions of Attributes or hacking a Sub sub sub Category?
    By liquidpictures in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 12 Aug 2009, 02:25 PM
  3. Show sub-sub categories underneath sub-categories on the category page?
    By tomrice in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Jun 2009, 03:05 AM
  4. Skip Page showing sub categories, go straight to first sub category
    By HelenSama in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 8 May 2009, 05:16 PM
  5. Sub-sub Category table on category page
    By hubert in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 May 2007, 10:52 AM

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