example:
Code: Select all
-category 1
---List Item 1
---List Item 2
---List Item 3
-category 2
---List Item 4
---List Item 5
---List Item 6Has anyone done this? Is it even possible?
Any help appreciated.
Simon66
Code: Select all
-category 1
---List Item 1
---List Item 2
---List Item 3
-category 2
---List Item 4
---List Item 5
---List Item 6Code: Select all
{foreach from=$categories item=category}
<a class="category-name" href="{$category->url}"{$category->name} ({$category->items|count})</a>
{if !empty($category->description)}
<div class="category-description">
{eval var=$category->description}
</div>
{/if}
{LisIt2<instance_name> category=$category->alias}
{/foreach}