Posted by D_C on 06/18/05 02:32
is there a way to use a smarty variable as a cycle parameter? tried:
{cycle values=0,stepX assign='posX' }
{cycle values=0,$stepX assign='posX' }
{cycle values=0,`$stepX` assign='posX' }
{cycle values='0,`$stepX`' assign='posX' }
but i get the values 0 and "stepX" as a string...
otherwise I guess i can do this but it seems verbose:
{cycle values='0,1' assign='posX' }
{assign var=posX value=$posX*$stepX}
thanks in advance!
[Back to original message]
|