[Templates] TT Caching Templates without path?

[prev] [thread] [next] [Date index for 2004/11/03]

From: knoebi
Subject: [Templates] TT Caching Templates without path?
Date: 08:59 on 03 Nov 2004
Hi TT-Experts

i'am using TT under mod_perl and have a problem with caching
Templates. I want to make several Views for my application, but i
didn't use T:View yet. I tried it with just using different
INCLUDE_PATH for different Requests and then Template should process
different templates.
But it seems to me, that when the template is cached once, TT doesn't
know anymore from which Includedirectory the template came from and so
it uses it, even if this File isn't in the actual INCLUDE_PATH.
Is this true? Do I have to use T:Views to achive my goal (using
different INCLUDE_PATHS for different Requests which do have the same
templates in it) ? Or is there a simpler way?

Thanks,

Philipp

_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] TT Caching Templates without path?
knoebi 08:59 on 03 Nov 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52