Hi, I'm trying to write a plugin that loads some information based on the calling templates name. For example if I have a template called, "directory/file.tt2" and that template USEs a custom plugin, can I somehow get the Template::Document object that holds the compiled version of "directory/file.tt2"?
It seems that a plugin only get's the context, but I can't figure out how from the context to get information about the current template. My goal is to have a plugin that loads some additional information from a lookup table based on the template name. Thanks for your assistance in advance! John Napiorkowski __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ templates mailing list [email protected] http://lists.template-toolkit.org/mailman/listinfo/templates
