Re: Strip - support for multiple templates...

From: Date: Mon, 10 Sep 2001 01:09:17 +0000
Subject: Re: Strip - support for multiple templates...
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1456@lists.php.net to get a copy of this message
Why not use a config file for this instead of a template? {config_load file="vars.conf"} {#oHost#} Lee Doolan wrote: > >>>>> "Webmaster" == Webmaster Flash France > >>>>> <dubucm@flash-france.com> writes: > > Webmaster> Hi everyone, i am finalizing a project using smarty > Webmaster> .... and after a short look in the doc. i saw the > Webmaster> {strip} custom function. > > Webmaster> I say'd woh Great :) > > Webmaster> But i tried to put a {strip} at the beginning of my > Webmaster> header and {/strip} at the end of my footer template > Webmaster> and it didn t work ... > > I had similar problems trying to put an > > {assign var=oHost value="server.com.com"} > > in a config file. after the {include file=config.tpl"} the > variable {$oHost} didn't seem to be accessible. > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/

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