I would like to have a categories.template page to link to that not only shows the number of articles per category, but also a nice list with the name of each article.
I guess I need to put a foreach inside a foreach, but I have no other idea on how to do that. Could you help me with the code?
this is what i'm using at the moment, just copied and pasted from another template...
- Code: Select all
{foreach from=$articlecategories item=articleCategory}
<a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a> [{$articleCategory->getNumArticles()}]<br/>
{/foreach}
thanks a lot for lifetype, even I can use it!
