Re: Cycle and Config vars

From: Date: Tue, 29 Apr 2003 14:29:27 +0000
Subject: Re: Cycle and Config vars
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9423@lists.php.net to get a copy of this message
Still no go. If I use bgcolor="{cycle values=#colorCycle#}" I get: Smarty error: cycle: missing 'values' parameter in etc. and if I use bgcolor="{cycle values="#colorCycle#"}" I get bgcolor="#colorCycle#".. -- -- Eskil Kvalnes <eskil@uten.net> http://www.hypothetic.net/ "Tom Sommer" <webmaster@tsn.dk> wrote in message news:lvaefhnufej7$.1rkya274qdfoy.dlg@40tude.net... > On Tue, 29 Apr 2003 15:04:22 +0200, Eskil Kvalnes wrote: > > > In my config file (conf.colors.php) I have: > > color1 = #A1A7B2 > > color2 = #798291 > > colorCycle = {#color1#},{#color2#} > > try > colorCycle = #A1A7B2 > colorCycle = #798291 > > and set > $smarty->config_overwrite = false; > before calling config_load > > Not sure, try :) > > -- > Tom Sommer, Denmark > www.tsn.dk - www.dreamcoder.dk

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