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