constants and cycle
| From: | dt | Date: | Fri, 04 Apr 2003 16:21:10 +0000 |
| Subject: | constants and cycle | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-1077@lists.php.net to get a copy of this message | ||
Hi!
I have template like this:
<smarty: cycle name=cycle1 values="$smarty.const.AAA, $smarty.const.BBB" print=false advance=false>
The smarty compiler answer:
*Fatal error*: Smarty: [in /mnt/cipelo/public_html/bug/cycleteszt/cycle.stm line 1]: syntax error: $smarty. is an unknown reference (Smarty_Compiler.class.php, line 1767) in */home/donci/php/Smarty-2.5.0-RC2/libs/Smarty_Compiler.class.php* on line *1820
What's wrong?
Donci
*