Re: Uncollapsed Categories Tree
You know what.. I just did it the cheat way.. and did my admin settings under Configuration--> Layout Settings as follows:
Categories - Always Show on Main Page: 1
Main Page - Opens with Category: 2_3_4_5_6_0
It works fine like that.
I am still curious about that splash page though.:smile:
Re: Uncollapsed Categories Tree
This is how I did it: http://www.zen-cart.com/forum/showthread.php?t=102871
Edit: duplicate posts merged by moderator
Re: Uncollapsed Categories Tree
Re: Uncollapsed Categories Tree
When I add in this MOD it creates the box on the left side but it makes it 3 different times.
It is on a local machine so I can not give a link.
Zen Cart 1.3.8a
Database Patch Level: 1.3.8
Re: Uncollapsed Categories Tree
Maybe I am unclear about what it is doing. Is there any updates to this or is there a better way to make it so the tree in always uncollapsed?
Sideboxes display as follows:
Categories List show expanded
Logo area
Categories List show expanded
Gallery area
Categories List show expanded
Banner - Side
Re: Uncollapsed Categories Tree
I really like this idea and tried to implement it on my site.. however... Im not sure why the chcategories is in the middle of my site instead of on the left...
thelittlestgiftboutique.com
http://img803.imageshack.us/img803/5186/uncollapse.jpg
Re: Uncollapsed Categories Tree
It may be something about the way you have merged BetterCategories with Uncollapsed Categories Tree. What did you actually do? I don't think BC would apply to the chcategories sidebox without some customization... or maybe it would, using the regular tpl_categories.php file as Uncollapsed Categories does. It may be filtering through the BC version of the file.
If you want to style the expanded categories, it would be cleaner to just use Categories Dressing which I can see you have at least partially installed (stylesheet_chcategories_dressing.css).
Re: Uncollapsed Categories Tree
Hey, I somehow fixed it.. I had categories listing box installed... I didn't clean up the files properly when I removed it.. and I had that enabled in sideboxes controller. I also had to clean up the stylesheet.css.
Re: Uncollapsed Categories Tree
Having bits of multiple mods installed which all affect the same element is pretty much guaranteed to lead to unexpected results in some form...
Glad it's sorted now.
Re: Uncollapsed Categories Tree
For those of you requesting to show only 1 level of subcategories... try the following:
1) Edit Line 36 in /includes/templates/YOUR_TEMPLATE/sideboxes/tpl_categories.php
Code:
$content .= '<li class="' . $new_style . '">';
2) Add this code to your template's CSS file:
Code:
li.category-products {display: none;}