Re: [SMARTY] Re: Should I use Prefilter or Plugin for "advanced"

From: Date: Sat, 24 Apr 2004 19:12:43 +0000
Subject: Re: [SMARTY] Re: Should I use Prefilter or Plugin for "advanced"
References: 1 2 3  Groups: php.smarty.general php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11304@lists.php.net to get a copy of this message
Jochem Maas wrote:
just write a wrapper (plugin) function that calls the smarty plugin which {pop_up} refers to and wraps its output with the link you want before returning the whole string. no need to prefilter.
According to what I know about wrapping class methods this sounds to be a good solution! The only problem is that I have absolutely no idea how I should wrap a smarty modifier!? Can you please help with perhaps just a small code example or maybe with a link if there's anything about it it manual - though I can't find it right now! Regards, Tommy Ipsen

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