I have a collection of templates that all start with [% WRAPPER admin_default.tt %] which contains the usual HTML furniture, with each template containing the 'interesting' bits that get put in [% content %], as everyone knows.
With each of these pages I have found I need to put in boilerplate [% PROCESS admin_common.tt %] and more. admin_process.tt has [% MACRO ... BLOCK %]s. This is repeated across every template. I tried moving the process into admin_default.tt but it seems like the WRAPPER's PROCESS don't define MACROs in the scope of the original template. I saw META and got excited for a moment but that seems to work only for simple vars. What's the best way of doing this? If my approach is wrong I can change that too. Paul _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
