Re: [SMARTY] load_filter

From: Date: Sun, 21 Dec 2003 04:38:33 +0000
Subject: Re: [SMARTY] load_filter
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10733@lists.php.net to get a copy of this message
On Saturday 20 December 2003 04:36 pm, Luc Saint-Elie wrote: > Everything works fine. > > But I'm writing a file that output RSS and I need to suppress my copyright > statement > In my backend.php file I have > > $smarty = new My_Smarty; > $smarty->unregister_outputfilter('copyright'); > > This doesn't work. > > Where do I fail ? > Currently, Im loading the trimwhitespace filter with $smarty->load_filter('output', 'trimwhitespace'); and using the $smarty->unregister_outputfilter('trimwhitespace'); works for me...

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