I'm trying to figure out how I can show root categories and sub categories on a static page, so far I have managed to display the root categories by doing this:
Code:
{foreach from=$categories key=k item=c}
<a href="home.php?cat={$c.categoryid}">{$c.category}</a>
{/foreach}
But with what code can I display the sub categories?