error
| From: | No Span | Date: | Sat, 09 Nov 2002 16:18:46 +0000 |
| Subject: | error | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6377@lists.php.net to get a copy of this message | ||
Hi!
I've met a malfunction using the quoted template:
<{foreach name=outer item=block from=$blocks}>
<{foreach name=inner item=cblock from=$block.blocks}>
1. print OK: <{$cblock.pic.url}>
<{assign var='anything' value="something"}>
2. print:
<{ownfunction
link="javascript:zoom('".$cblock[pic][url]."');"}>
<{/foreach}>
<{/foreach}>
in the parameter of ownfunction $cblock[pic][url] is substituted with the
right value of the expression, ONLY if an 'assign' has been called
(parameters do not matter) in the most inner foreach. Otherwise empty
value.
Any idea?
Greetings,
Dud