RE: [SMARTY] example usage of cycle

From: Date: Fri, 03 May 2002 17:40:09 +0000
Subject: RE: [SMARTY] example usage of cycle
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4043@lists.php.net to get a copy of this message
Can you use config and php vars with cycle? {cycle values="#background_colors#"} {cycle values="$background_colors"} Just checking :) Gerard > -----Original Message----- > From: Monte Ohrt [mailto:monte@ispi.net] > Sent: Friday, May 03, 2002 10:10 AM > To: Monte Ohrt > Cc: Smarty > Subject: Re: [SMARTY] example usage of cycle > > > Monte Ohrt wrote: > > > > Now a trickier one, cycling through four colors on columns, two on the > > even rows and two on the odd rows. > > > > {* setup the cycles *} > > {cycle id=0 values="#eeeeee,#dddddd" reset=true print=false} > > {cycle id=1 values="#eeeeee,#dddddd" reset=true print=false} > > oops, the above line should read: > > {cycle id=1 values="#bbbbbb,#aaaaaa" reset=true print=false} > > > -- > Monte Ohrt <monte@ispi.net> > Director of Technology, ispi Inc. > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.smarty.general (#4043) next »