At 01:48 PM 12/6/2002 -0500, darren chamberlain wrote: >* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2002-12-06 13:44]: >> In anticipation of creating some plugins, I was reviewing the docs at >> http://www.template-toolkit.org/docs/plain/Modules/Template/Plugin.html. >> >> It is not perfectly clear where I put the code to identify PLUGIN_BASE >> - should my package look like this: > >If the call to Template->new is not in package >MyOrg::Template::Plugin::MyPlugin, then, yes, that is correct. > >PLUGIN_BASE is used by scripts and modules external to your plugin, so >that TT can find your plugin.
Then do I need the Use Template line in the plugin? What would the [% use %] line look like for my plugin MyOrg::Template::Plugin::MyPlugin in a template? [% use MyOrg::Template::Plugin::MyPlugin %] ? Thanks! Barry _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.ourshack.com/mailman/listinfo/templates
