Re: [Templates] Intercepting PROCESS and INCLUDE
[prev]
[thread]
[next]
[Date index for 2005/03/06]
On Fri, 4 Mar 2005 12:48:44 -0500, Brett Sanger <swiftone@xxxxxxxx.xxx> wrote:
> ...
> So I'm looking for someway to intercept calls to INCLUDE and PROCESS,
> get the actual path to the file INCLUDE'd, and edit it, before allowing
> the process to procede. I've got the Badger book, but so far I haven't
> sat down to read through it, so a chapter reference would be great if
> this is already answered.
You should be able to do this with a custom Template::Provider and it
looks like Chapter 8 from the book is your best bet. (Along with the
TT docs.)
Chris
--
Chris Winters (chris.winters@xxxxx.xxx)
Building enterprise-capable snack solutions since 1988.
_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates
 |
 |
Re: [Templates] Intercepting PROCESS and INCLUDE
Chris Winters 15:22 on 06 Mar 2005
|