Thanks for the examples Chris, I used the method you outline and it works great.
Chris ----- Original Message ----- From: "Chris Winters" <[EMAIL PROTECTED]> To: "Chris Ochs" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 02, 2004 12:17 PM Subject: Re: [Templates] template variable question > On Mar 2, 2004, at 3:07 PM, Chris Ochs wrote: > > I've been trying to think of a way to do just that given what I am > > trying to > > accomplish. > > > > Basically we have an application server of sorts and have added our own > > custom tags. I chose not to use the plugin architecture for adding new > > functionality because I didn't like having to call [% use MyModule %] > > before > > accessing functions in MyModule. Furthermore I want to put the custom > > You can do this by setting 'MyModule' to be the plugin object in the > template parameters. This is a good argument for why it's good to have > a centralized template processing function -- you only have to set it > in one place. > > Here's an example: > > http://www.cwinters.com/programming/pghpm-2003-02/12.html > > Chris > > -- > Chris Winters > Creating enterprise-capable snack systems since 1988 > > > _______________________________________________ > templates mailing list > [EMAIL PROTECTED] > http://lists.template-toolkit.org/mailman/listinfo/templates > _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
