Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / how to keep categories unfolded on sidebox?

how to keep categories unfolded on sidebox?

Views: 12,609

Results 41 to 43 of 43
21 Jun 2011, 11:20 AM
#41
shockraver avatar

shockraver

New Zenner

Join Date:
Nov 2004
Posts:
47
Plugin Contributions:
0

how to keep categories unfolded on sidebox?

this works.... thanks... works great

24 Feb 2015, 2:46 AM
#42
dk_scully avatar

dk_scully

Zen Follower

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

Re: how to keep categories unfolded on sidebox?

I changed the codes as you specified, but seem to have a small problem. Each set of subcategories is further to the right, like so:

Master Category 1
...Subcategory 1
...Subcategory 2
Master Category 2
......Subcategory 1
......Subcategory 2
Master Category 3
.........Subcategory 1
.........Subcategory 2

(The ... have been manually inserted because when I just added spaces here, they didn't show up and everything was left-aligned into one long column.)

Also I noticed that the Master Categories with subcategories are bolded, but the Master Categories that don't have subcategories are not bolded. How can I make all the Master Categories bolded...and get rid of those extra spaces in the subcategory listings?

Thanks!

Oh...I'm using v1.5.3.

24 Feb 2015, 4:53 AM
#43
dk_scully avatar

dk_scully

Zen Follower

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

Re: how to keep categories unfolded on sidebox?

Well, I half-solved the problem. I replaced your code with ch_categories (no offense) and the extra-spaces problem disappeared. But something even stranger is going on now. When "Categories - Always Show on Main Page" is turned OFF, I lose the bottom half of the index page. Just the index page. The other pages seem to be fine. But when "Categories - Always Show on Main Page" is turned ON, the bottom half of the index page reappears!! What could be causing this?