Gossamer Forum
Quote Reply
calling globals
When I try to call a function defined in my plugin module from a template I get some sort of not found error. I call it as follows <%MyModule::myFunction%>



Do I need to explicitly export it in my module?
Quote Reply
Re: [tommyfotak] calling globals In reply to
Hi,

You should call your plugin functions in this format:

<%Plugins::PlugInName::YourFunction%>

Example:

<%Plugins::EditorMonitor::emfprofile_path%> where EditorMonitor.tar is the plug-in module.

Ian


http://www.iuni.com/...tware/web/index.html
Links Plugins

Last edited by:

Ian: Jul 21, 2002, 10:27 AM
Quote Reply
Re: [tommyfotak] calling globals In reply to
That may mean you have a syntax error in your module.