View Single Post
  #2  
Old 08-03-2004, 02:52 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Here you go,

I did just this the other day, its a bit crafty how it works but it does the job. It only works for a single level of subcategories though

Code:
| {section name=cat_num loop=$allcategories} {if $allcategories[cat_num].parentid eq $location[1].1|replace:"home.php?cat=":""} <font class=CategoriesList> { $allcategories[cat_num].category|escape } </font>| {/if} {/section}

This is for V4
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote