Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2004
    Posts
    89
    Plugin Contributions
    0

    Default Only Show Sub Categories When Using Cat-Tabs Header

    Basically what im trying to do is modify the sidebox to show only the subcategories when using the top level cats in the header.

    if for example there are no subcategories in a top level cat then it would either not display the side box or would show only the "all products" link

    is this possible or would it be quite a large mod to get it to do that

    any ideas or feedback would be much appreciated

    cheers

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

    Default Re: Only Show Sub Categories When Using Cat-Tabs Header

    The current method is if you use the Categories Tabs at the top, then the Categories Sidebox opens as if you clicked on it ...

    You can make it that the Categories sidebox never shows the subcategories but unless you do a great deal of customization it cannot run both ways ...
    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: v1.5.5]
    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
    Dec 2004
    Posts
    89
    Plugin Contributions
    0

    Default Re: Only Show Sub Categories When Using Cat-Tabs Header

    ok no problem maybe a future mod

  4. #4
    Join Date
    Nov 2005
    Location
    Vancouver, Canada
    Posts
    151
    Plugin Contributions
    0

    Default Re: Only Show Sub Categories When Using Cat-Tabs Header

    Quote Originally Posted by Ajeh View Post
    The current method is if you use the Categories Tabs at the top, then the Categories Sidebox opens as if you clicked on it ...

    You can make it that the Categories sidebox never shows the subcategories but unless you do a great deal of customization it cannot run both ways ...
    Linda:
    this may be a dumb question. I'm using v1.3.8a on this site.
    I'm using category tabs for the first time. my intent is to fully by-pass any side boxes. See attached image for sample.

    Name:  sampleTab.gif
Views: 301
Size:  15.2 KB

    Currently, when you click on the tabs, the sub categories don't even show up in the content area, which is why I had to place a right column sidebox.

    I've been looking at the Category Dressing Mod, but before I install, I want to make certain I can't use the default zc to do the job.

    I would really appreciate any suggestion.

    thank you.

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

    Default Re: Only Show Sub Categories When Using Cat-Tabs Header

    You have either turned of the categories_row or your template has disabled it ...

    Or .. your stylesheet has a
    display: none;

    where it should not ...
    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: v1.5.5]
    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
    Nov 2005
    Location
    Vancouver, Canada
    Posts
    151
    Plugin Contributions
    0

    Default Re: Only Show Sub Categories When Using Cat-Tabs Header

    Quote Originally Posted by Ajeh View Post
    You have either turned of the categories_row or your template has disabled it ...

    Or .. your stylesheet has a
    display: none;

    where it should not ...
    Linda:

    I'm using the column layout grid with column divider pro so in admin > product listing, i'm showing columns 3, how SubCategories on Main Page while navigating =1.

    so, in a nutshell, tabs, when clicked, will display product list, but will not display subcategories.

    The tabs did show products before I moved the products into sub categories. i'm create products under accessories so you can see what I mean.

    other settings:
    admin > layout setting i have the following:
    Categories - Always Show on Main Page 1
    Main Page - Opens with Category 0
    Categories - Always Open to Show SubCategories 1
    Categories-Tabs Menu ON/OFF 1

    admin > poduct listing
    Product Listing - Layout Style columns
    Product Listing - Columns Per Row 3
    Include Product Listing Sub Categories Image false
    Include Product Listing Top Categories Image false
    Show SubCategories on Main Page while navigating 1

    This is my custom build design and template. I have not disabled anything in style sheet. I'm just getting started on this project.

    any feedback is much appreciated. thanks

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

    Default Re: Only Show Sub Categories When Using Cat-Tabs Header

    Try three things ...

    In your stylesheet I am seeing:
    .categoryListBoxContents { display: none; }
    I am not sure if that is the issue ...

    Could you change that to:
    /*.categoryListBoxContents { display: none; }*/
    then refresh your page ... does that change things?


    Next ...
    Turn off the SEO ... does this change things?

    Next ...
    Switch to the Classic Template ... does this change things?
    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: v1.5.5]
    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!

  8. #8
    Join Date
    Nov 2005
    Location
    Vancouver, Canada
    Posts
    151
    Plugin Contributions
    0

    Default Re: Only Show Sub Categories When Using Cat-Tabs Header

    Quote Originally Posted by Ajeh View Post
    Try three things ...

    In your stylesheet I am seeing:

    I am not sure if that is the issue ...

    Could you change that to:


    then refresh your page ... does that change things?
    Linda:

    I said it before, and I'll say it again, you're a genius. commenting the stylesheet class did it.

    I know the complexities of ZC and that it was build to address a great number of possibilities and configuration. One day, when I have some time, I'd like to write down all the potential combinations so that we don't have to bother your geniuses with all the minor and frustrating little questions. Imagine what else you could come up with when you don't have to spend so much time with what now seems obvious.

    I tip my chapeau, my lady.

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

    Default Re: Only Show Sub Categories When Using Cat-Tabs Header

    acidsesite -
    The new version of Categories Dressing includes the ability to limit category sidebox display to only subcategories. This would have the effect of showing only the all/new/featured links (whichever you have enabled) when there are no subcategories active.

    When you install the files, all you need to do is change a couple of numbers in a define statement. The readme gives the details.
    Last edited by gjh42; 21 Feb 2009 at 10:04 PM.

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

    Default Re: Only Show Sub Categories When Using Cat-Tabs Header

    Thanks for the update, newagekat ... glad to hear that this was just an issue in the stylesheet causing the problem ...
    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: v1.5.5]
    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. v150 How to display Top Cat & Sub Cat but not Sub Sub Cats??
    By spiggles87 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Mar 2013, 06:37 PM
  2. v139d Categories Side Box, Show First Sub Cat
    By kitcorsa in forum General Questions
    Replies: 2
    Last Post: 6 Mar 2012, 05:04 PM
  3. Show only sub-categories when viewing top-categories
    By bthreen in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Feb 2010, 08:28 AM
  4. erasing sub-cat tabs from center page (not header)
    By broeder in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 6 Apr 2009, 10:49 AM
  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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR