On Sat, Apr 26, 2008 at 9:19 AM, Andy Wardley <[EMAIL PROTECTED]> wrote:
>  This is the bit that TT doesn't support.  You have to define a single PROCESS
>  template up front.  You can't just drop a new one in a directory like you can
>  with Mason.

You sort of can.  If you set the INCLUDE_PATH based on the request
(e.g. [ '/foo/bar', '/foo', '/' ] ), you get inheritance like Mason's
and can use WRAPPER or PROCESS with overring. What you don't get is an
equivalent to $m->call_next, so layering them would be tricky.
Overriding works very well though.

- Perrin

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to