Re: variable values from configs (huh?)

From: Date: Fri, 27 Apr 2001 13:57:57 +0000
Subject: Re: variable values from configs (huh?)
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-618@lists.php.net to get a copy of this message
On Fri, 27 Apr 2001, tomas@altern.org wrote: > <DIV class="inneh" style="top:{#$sida#}px"> In cases like this, you pretty much have to load the needed configuration value manually from the config file and assign it to the script: $conf = new Config_File(); $sida_top = $conf->get('my.conf', 'mysection', $sida); $tpl->assign(sida_top, $sida_top); and then use {$sida_top} to print it out. We may think about supporting that syntax in the future, but it may lead to complications, so no guarantees. -Andrei "Everything should be made as simple as possible, but not simpler." -- Albert Einstein

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