Re: [SMARTY] Why do I only show two items when looping

v3rb0 <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
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}

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.