[dokuwiki] Re: loading helper plugin from /helper directory

  • From: Myron Turner <turnermm02@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 09 Mar 2011 07:15:35 -0600

On 3/9/2011 7:08 AM,  Mª®k wrote:
2011/3/9 Myron Turner<turnermm02@xxxxxxx>:
On 3/9/2011 5:06 AM,  Mª®k wrote:

The plugin class is defined as:

        class helper_plugin_spatialhelper_index extends DokuWiki_Plugin
{...}

and it shows up fine (and runs the constructor code) in the plugin
manager.

So any hints on what the name should be for loading this plugin? Also
the $msg of the loadHelper doesn't show up anywhere?

If your plugin name is spatialhelper:
  plugin_load('helper', 'spatialhelper_index');

right, that works.
So is loadHelper() broken in this case? looking at the code of
inc/plugin.php loadHelper('spatialhelper_index','msg'); seems to do
just that..

http://www.dokuwiki.org/devel:helper_plugins

--
Myron Turner
http://mturner.org/
http://mturner.org/fckgLite
http://www.mturner.org/dwfck/doku.php
http://www.room535.org


--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: