Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Show Top level Categories and 1st sub level categories in side box

Show Top level Categories and 1st sub level categories in side box

Views: 9,836

Results 1 to 11 of 11
14 Apr 2007, 2:22 PM
#1
airtime avatar

airtime

New Zenner

Join Date:
Mar 2007
Posts:
51
Plugin Contributions:
0

Show Top level Categories and 1st sub level categories in side box

I would like the categories box to show the top level categories and the 1st level of sub categories in the side box.

Something like this:

Top Level Category 1
1st level sub cat1
1st level sub cat1
1st level sub cat1

Top Level Category 2
1st level sub cat2
1st level sub cat2
1st level sub cat2

etc. etc. for all top level categories and their first level sub categories.
I thought this was a layout setting, but I can't seem to find it????
thanks for any direction.
Airtime

14 Apr 2007, 3:37 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,179
Plugin Contributions:
0

Re: Show Top level Categories and 1st sub level categories in side box

Take a look at this:

The default categories sidebox does not allow you to have all categories and subcategories auto-expanded simultaneously by default.

If you want that functionality, use one of the various contributor-supported categories sidebox contributions in the downloads area.

At the top of the page Downloads.

Hope this helps.

Mark,

15 Apr 2007, 10:41 PM
#3
airtime avatar

airtime

New Zenner

Join Date:
Mar 2007
Posts:
51
Plugin Contributions:
0

Re: Show Top level Categories and 1st sub level categories in side box

haredo:

Take a look at this:

The default categories sidebox does not allow you to have all categories and subcategories auto-expanded simultaneously by default.

If you want that functionality, use one of the various contributor-supported categories sidebox contributions in the downloads area.

At the top of the page Downloads.

Hope this helps.

Mark,

Mark,
Thanks for responding. I checked the downloads section, but the only one that is close is
Expanded Category List

however, this won't work for me, b/c it expands all the way to the product level. I'm looking for just the top category and 1st sub category to be expanded.

7 Oct 2007, 4:01 AM
#4
adventurer avatar

adventurer

New Zenner

Join Date:
Sep 2007
Posts:
7
Plugin Contributions:
0

Re: Show Top level Categories and 1st sub level categories in side box

Hi Airtime::smile:

Have you figured this out? If yes, could you please give us a clue.

Thanks,

Stephanie

23 Jan 2008, 8:11 PM
#6
nonni avatar

nonni

New Zenner

Join Date:
Jan 2008
Posts:
9
Plugin Contributions:
0

Re: Show Top level Categories and 1st sub level categories in side box

Hi,
Has anyone got this to work yet?
I downloaded the files as suggested above and uploaded. What do I need to do next? Is their something I need to change in the config? Readme notes weren't very in-depth.
Thanks in advance!

27 Jan 2008, 7:10 PM
#7
ashton0603 avatar

ashton0603

Zen Follower

Join Date:
May 2007
Posts:
109
Plugin Contributions:
0

Re: Show Top level Categories and 1st sub level categories in side box

Is anyone currently using this?

Can you decide which you want to show or will it show everything? For example, I would like to show subcategories but not the products.

Also does it show the subcategories or does it appear only once you roll your curser over the main category?

29 Jun 2009, 2:06 AM
#8
obamausa8 avatar

obamausa8

New Zenner

Join Date:
Jun 2009
Posts:
2
Plugin Contributions:
0

Re: Show Top level Categories and 1st sub level categories in side box

Thanks for sharing. It's great.:clap:

pret auto

3 Mar 2011, 4:26 PM
#9
davisz avatar

davisz

Zen Follower

Join Date:
Jan 2011
Posts:
141
Plugin Contributions:
0

Re: Show Top level Categories and 1st sub level categories in side box

I am currently using the mod that was posted in this thread on post #5, however it displays all the way down to the Product level. This is too far! though I do love the mod, is there any other mod or a way to modify this one to have it stop at just sub cats!?

Example;

Shop by Brand:
-Vineyard Vines
Shop by Price:
-10-25

The expanded category mod is doing this
Shop By Brand:
-Vineyard Vines
-Blue and Yellow Shirt
-NEW red shirt

etc.

3 Mar 2011, 5:03 PM
#11
gjh42 avatar

gjh42

Black Belt

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

Re: Show Top level Categories and 1st sub level categories in side box

If you want only top cats and first subcats to show in the sidebox (or any other logically describable arrangement), try Categories Dressing with the Uncollapsed Categories option. You can choose one of a half dozen settings in the define file, or create a new one in the appropriate function if you know PHP.