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

From: Date: Mon, 10 Jun 2002 23:55:04 +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-4759@lists.php.net to get a copy of this message
Aha! Perfect, I just clear that array before I ues Smarty to do the email merge. Works like a charm. Thanks for the quick help. best Eric -----Original Message----- From: Andrei Zmievski [mailto:andrei@ispi.net] Sent: Monday, June 10, 2002 12:21 PM To: Eric Mueller Cc: smarty-general@lists.php.net Subject: Re: [SMARTY] away, output filter, out, out On Mon, 10 Jun 2002, Eric Mueller wrote: > 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. load_filter() really is meant to be used for specific templates only. Otherwise you could use $autoload_filters() variable. -Andrei http://www.gravitonic.com/ "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth

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