How to use popup function in section loop?
| From: | Larry_Li at amat dot com | Date: | Mon, 23 Jun 2003 07:14:19 +0000 |
| Subject: | How to use popup function in section loop? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9749@lists.php.net to get a copy of this message | ||
{section name="sparepartsInfo" loop=$partNoArray}
<a {popup caption="TSL List" text="$spoPartTSLArray[sparepartsInfo]"}>
{$partNoArray[sparepartsInfo]}</a>
{/section}
Get error message:
Warning: Smarty error: overlib: attribute 'text' or 'inarray' or
'function'
required in d:\php\includes\Smarty.class.php on line 553
Seems text in popup doesn't support section array variable. If I replaced
array variable with a simple one, it works great. But I do need an array
variable in text. Any idea?
Thanks a lot,
Larry