Re: [SMARTY] filtering... how

From: Date: Fri, 30 Jan 2004 08:40:50 +0000
Subject: Re: [SMARTY] filtering... how
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10896@lists.php.net to get a copy of this message
On Wed, Jan 28, 2004 at 01:54:01PM -0300, Pupeno wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, I have one main template, index.html that includes other templates like > menu.html, header.html and a dynamic named template that includes the main > contains (for example, home.html, aboutus.html, etc). > Now, I'd like to apply a filtering function to all those files that are > included (menu.html, header.html, home.html, etc) but NOT to index.html... > What would be the best way to do it ? I was thinking to implement my own > include fuction, but that doesn't sound like the right solution... any idea ? > Thanks. if you don't want to tamper with Smarty's internals, then writing your own include sounds best to me. > - -- > Pupeno: pupeno@pupeno.com > http://www.pupeno.com

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