Re: [SMARTY] Why do I only show two items when looping
| From: | v3rb0 | Date: | Sun, 25 Sep 2005 13:38:17 +0000 |
| Subject: | Re: [SMARTY] Why do I only show two items when looping | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13057@lists.php.net to get a copy of this message | ||
use
<ul class="showIt" id="mn1">
{foreach from=$links_list->mCategories[cat] item=item key=key}
<li class="subLinks">
<a href="{$links_list->mLinks[cat][link].linkURL}">
{$links_list->mLinks[cat][link].linkTitle}
</a>
</li>
{/foreach}
</ul>
insetad of
{section name=link loop=$links_list->mCategories[cat]}
...
{/section}