Re: [SMARTY] Why do I only show two items when looping
| From: | Oscar Fernandez Sierra | Date: | Sun, 25 Sep 2005 18:24:49 +0000 |
| Subject: | Re: [SMARTY] Why do I only show two items when looping | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13058@lists.php.net to get a copy of this message | ||
Recordad que en el foro de alonsocampeon tenéis que entrar para generar la página de opiniones
http://farton.elmundo.int:9090/elmundo/opiniones/index_opiniones.html?anio_creacion_opiniones=2005&opiniones=alonsocampeon
--
Oscar Fernandez Sierra | Mundinteractivos - El Mundo |
Area de Internet | Pradillo, 42 |
oscar@el-mundo.net | 28002 - Madrid (SPAIN, EU) |
http://www.elmundo.es/ | Tel: (+34) 915864800 (Ext: 4616) |
On Sun, 25 Sep 2005, v3rb0 wrote:
> 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
>
>