View Single Post
  #1  
Old 11-30-2007, 07:02 AM
 
qrichou qrichou is offline
 

Advanced Member
  
Join Date: Oct 2007
Posts: 39
 

Default How do i only show certain categories in menus

Hi All,

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.

Any help would be greatly appreciated.

Many Thanks

Richie
Reply With Quote