Re: {section} question...
| From: | Tom Sommer | Date: | Thu, 27 Feb 2003 22:10:44 +0000 |
| Subject: | Re: {section} question... | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8279@lists.php.net to get a copy of this message | ||
I would gather the forums inside the category array
Like so: http://dev.tsn.dk/smarty.help.php (the
array)
and then do a
{section name=nr loop=$catlist}
Category: {$catlist[nr].CATEGORY}
Forums:
{section name=xnr loop=$catlist[nr].FORUMS}
{$catlist[nr].FORUMS[xnr].NAME}
{/section}
or something like that :)
--
Tom Sommer, denmark
www.tsn.dk - www.dreamcoder.dk