RE: [SMARTY] away, output filter, out, out

From: Date: Mon, 10 Jun 2002 19:20:05 +0000
Subject: RE: [SMARTY] away, output filter, out, out
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4734@lists.php.net to get a copy of this message
Hi, I'm currently using: $smarty->load_filter('output','trimwhitespace'); at the top of a common config file. In my app's architecture it'd be preferrable to find a way to turn it off on the fly, rather than introduce some kind of condition to the config file to control it being loaded or not. -E -----Original Message----- From: Andrei Zmievski [mailto:andrei@ispi.net] Sent: Monday, June 10, 2002 12:09 PM To: Eric Mueller Cc: smarty-general@lists.php.net Subject: Re: [SMARTY] away, output filter, out, out How are you loading it? On Mon, 10 Jun 2002, Eric Mueller wrote: > Hey there-- I'm using the output filter 'trimwhitespace' which is > great, but I'd like to temporarily disable it during some pages, when > I use Smarty to build emails from templates on the fly. (And I > wondered why all my automatic emails from the site suddenly seemed > so... compact.) > > I'm guessing that's not in the nature of output filters, to be toggled > at will during execution, so my question is, how could I adapt the > filter to a different Smarty feature that could be disabled and > re-enabled on the fly? > > thank you, > Eric > > http://ericmueller.org > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -Andrei http://www.gravitonic.com/ Atoms, once drawn into the torrent of living matter, do not readily leave it. - Vladimir Vernadsky

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