I'm creating custom menus for landing pages and I need the categories menu to only parse a specific subcategory. What I don't know is how to alter the syntax to limit to a specific category id. Here's the code I've got so far.
Code:
<ul class="categoryitems">
{foreach from=$c.subcats item=sc name=cm2}
{if $sc.subcats eq ""}
<li><a href="home.php?cat={$sc.categoryid}">{$sc.category}</a></li>
{else}
<li><a href="#" class="subexpandable">{$sc.category}</a>
<ul class="subcategoryitems" style="margin-left: 15px">
{foreach from=$sc.subcats item=ssc name=ssc name=cm3}
<li><a href="home.php?cat={$ssc.categoryid}">{$ssc.category}</a></li>
{/foreach}
</ul>
</li>
{/if}
{/foreach}
</ul>