Quote:
Originally Posted by qrichou
I have been searching the forums for a solution to this and I have tried a few ideas to implement what I am trying to achieve but I cant get it to work.
I don’t want the root categories to show in the left menu or the top menu only the sub cats.
Basically we have our categories set out as below
Top menu (root)
cat1
cat2
cat3
cat4
Left menu (root)
cat1
cat2
cat3
cat4
I thought i could use the parent id in the categories.tpl to get the sub cats to show :
{if $allcategories[subcat].parentid eq 340} but this doesn’t work.
|
Hi,
see attached file. Hope it will helps u.
NOTE: it works ONLY with one-leveled subcategories (if need more I will be here

)