Re: [SMARTY-DEV] Newlines

From: Date: Thu, 04 Apr 2002 18:20:53 +0000
Subject: Re: [SMARTY-DEV] Newlines
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-27@lists.php.net to get a copy of this message
On Thu, 04 Apr 2002, Jason Sweat wrote: > Monte> Any thoughts on this? > > I would agree with Andrei's thoughts on not > controlling a plugin with comments in the template. > Could we instead have something like the old > Smarty->Register() function where you could: > > $template->plugin('trimwhitespace',false); <- second > parameter for enable/disable > > at the script level? Or is it possible to unregister > the postfilter now on a per script basis? You can unregister postfilers, see unregister_postfilter(). -Andrei "The only true currency in this bankrupt world is what we share with each other when we're uncool." -- Lester Bangs, from the film 'Almost Famous'

« previous php.smarty.dev (#27) next »