Re: [SMARTY] Array variable in a Plugin
| From: | Roman Neuhauser | Date: | Tue, 13 Aug 2002 13:53:20 +0000 |
| Subject: | Re: [SMARTY] Array variable in a Plugin | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5670@lists.php.net to get a copy of this message | ||
> From: Marcel Güttler <guettler@kemper-schlomski.de>
> To: <smarty-general@lists.php.net>
> Date: Tue, 23 Jul 2002 10:51:32 +0200
> Subject: [SMARTY] Array variable in a Plugin
don't post garbage, please. the snippet below is all that was
actually needed from your message.
> {section name=plist loop=$portaldata}
> (1) {GEN_ACTIONID querystring="num=$portal_number"}
> // it works
> (2) {GEN_ACTIONID querystring="num=$portaldata[plist].portalid"}
> // doesn't work
> {/section}
IIRC Smarty cannot do this. Use {assign} in the {section}.
--
FreeBSD 4.6-STABLE
3:49PM up 4 days, 3:44, 14 users, load averages: 0.02, 0.04, 0.01