Re: Assign in prefilter

From: Date: Thu, 21 Mar 2002 23:01:24 +0000
Subject: Re: Assign in prefilter
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3263@lists.php.net to get a copy of this message
On Thu, 21 Mar 2002, Andreas Heintze wrote: > Found a problem when assigning vars in a prefilter. > (using the modified version of Smarty.class.php) > > If using cache, when the cache expires or is cleared with > $smarty->clear_all_cache(); and no recompile is done! > The prefilter is not run and the assigned vars is missing in the output! > > Can this be fixed somehow? Prefilters are only run when the template is recompiled, that is by design. It's not a bug. -Andrei Linux is like living in a teepee. No Windows, no Gates, Apache in house. - Usenet signature

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