Forums / Templates, Stylesheets, Page Layout / Is there a way to only show the sub cats when main category clicked?

Is there a way to only show the sub cats when main category clicked?

Views: 1,268

Results 1 to 5 of 5
4 Mar 2013, 2:33 PM
#1
spiggles87 avatar

spiggles87

New Zenner

Join Date:
Mar 2011
Posts:
53
Plugin Contributions:
0

Is there a way to only show the sub cats when main category clicked?

Hi,

Is there a way to only show the sub categories in the main category clicked?

So once you click on the category that you want to, the rest disappear in the side box once the page has loaded and only show the sub cats for that main category?

Spigz

4 Mar 2013, 5:21 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Is there a way to only show the sub cats when main category clicked?

A link to this will assist

Place spaces in your link to prevent it from being indexed here

Like
http :// www .zen-cart.com

Zen-Venom Get Bitten

4 Mar 2013, 8:47 PM
#3
spiggles87 avatar

spiggles87

New Zenner

Join Date:
Mar 2011
Posts:
53
Plugin Contributions:
0

Re: Is there a way to only show the sub cats when main category clicked?

Thanks,

http :// www .treasuresbycaz.co.uk

4 Mar 2013, 9:12 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Is there a way to only show the sub cats when main category clicked?

Do you mean that you want the main cat title to disappear when clicked??

Zen-Venom Get Bitten

4 Mar 2013, 9:17 PM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: Is there a way to only show the sub cats when main category clicked?

You're using Categories Dressing, so it should be possible to edit a case in a function switch to hide top cats when the cPath depth is greater than 0.
I can look at that if you post in the Categories Dressing support thread to keep useful information in one place.