Not sure if there are many people here using Smarty templates, but I thought I would ask. I'm trying to prefilter my templates using the function described on this page:

http://smarty.php.net/manual/en/adva...RES.PREFILTERS

I used the example they have on this page. I only made a few small modifications. ( Instead of replacing comments I'm replacing all spaces with the phrase "WORK_YOU_PIECE_OF_CRAP").

The prefilter function is completely ignored though. It isn't run and Smarty doesn't even complain if I give to a totally bogus function name.

If, OTOH, I change over to using the output filter:

http://smarty.php.net/manual/en/adva...putfilters.php

Then it works just fine. Which tells me this is probably some kind of compiling or caching issue.

Anyone run into this? How did you fix it? TIA!