On Feb 18, 2008 3:07 PM, Yann Kerhervé <[EMAIL PROTECTED]> wrote: > My users can write templates (kind of...) and specify [% INCLUDE > 'my:header.tt' %] > I want my provider to know that 'header.tt' comes from one specific user > and not another (to be able to load the correct one).
I'd probably handle that by changing the include path rather than using a custom provider. You can either set the include path before you call process() or try making a generator as shown here: http://tt2.org/docs/manual/Config.html#section_INCLUDE_PATH - Perrin _______________________________________________ templates mailing list templates@template-toolkit.org http://mail.template-toolkit.org/mailman/listinfo/templates