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

  • From: Myron Turner <turnermm02@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 09 Mar 2011 06:22:19 -0600

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');

If your plugin name is spatial:
 plugin_load('helper', 'spatial_index');


--
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: