Re: [SMARTY] prefilter problems. More INFO
| From: | Monte Ohrt | Date: | Sun, 14 Jul 2002 20:55:53 +0000 |
| Subject: | Re: [SMARTY] prefilter problems. More INFO | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5309@lists.php.net to get a copy of this message | ||
The prefilter is only applied when the template is compiled. If you change your prefilter, you must enable $force_compile to see the changes (or update the template being compiled if $compile_check is enabled)
Joe Rice wrote:
as i understand it. but, i'm witnessing that it is only calling my prefilter once, when the cache didn't exist. or when i alter the template. my proof of this is in my prefilter function i'm "echo "hello"; which i only see the first time around. joe Andreas Kossmeier(andreas.kossmeier@bergfex.at)@Sun, Jul 14, 2002 at 05:54:54PM +0200:Joe Rice wrote:after altering fullofhref.tpl the prefilter worked again. shouldn't clear_cache take care of this problem?prefilters are applied _before_ the template is *compiled*, so they have simply nothing to do with caching. -- andreas kossmeier bergfex.at - http://www.bergfex.at -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php