Hello!
I get a syntax error: unrecognized tag 'for' (Smarty_Compiler.class.php, line 590)
when I use
{for $x=0; $x<30; $x++}{/for}
release-> 1.9.4.1 "Faanui"
Isn't FOR loop available out of the box?
-
- Forum Members
- Posts: 14
- Joined: Sun Sep 27, 2009 3:45 pm
-
- Forum Members
- Posts: 14
- Joined: Sun Sep 27, 2009 3:45 pm
Re: Isn't FOR loop available out of the box?
{section name=foo loop=9}
{$smarty.section.foo.iteration}
{/section}
duh!
{$smarty.section.foo.iteration}
{/section}
duh!
-
- New Member
- Posts: 5
- Joined: Fri May 27, 2011 1:00 pm
Re: Isn't FOR loop available out of the box?
Hello... using another user as I could not login with the original, and have used all my known e-mails to recover password with no avail!
OK now that I have the foo variable how can I use it to show the variable
{$documentX} where X marks the spot?
{$document$foo}?
{$document|$foo}?
{$document.$foo}?
HELP!
OK now that I have the foo variable how can I use it to show the variable
{$documentX} where X marks the spot?
{$document$foo}?
{$document|$foo}?
{$document.$foo}?
HELP!