View Single Post
  #8  
Old 01-06-2006, 04:48 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Ok, here's the code you want:

Code:
{if $location[0].0 eq "Rootname"} Custom menu display code {/if}

Replace Rootname with the name of the root category you want it displayed for. If you have three root categories, all of which will show different menus, write it like this:


Code:
{if $location[0].0 eq "Rootname"} Custom menu display code {elseif $location[0].0 eq "Rootname2"} Custom menu display code 2 {elseif $location[0].0 eq "Rootname3"} Custom menu display code 3 {/if}

Hope this helps!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote