Results 1 to 1 of 1
Thread: Smarty Templates - Prefiltering
Jan 21, 2003, 18:02 #1
- Join Date
- Nov 2002
- Tucson, AZ
- 0 Post(s)
- 0 Thread(s)
Smarty Templates - Prefiltering
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:
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:
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!===================
Cork N. Beans
Potty trained since 1978