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

  • From: Mª®k <mc.prins@xxxxxxxxx>
  • To: dokuwiki <dokuwiki@xxxxxxxxxxxxx>
  • Date: Wed, 9 Mar 2011 14:08:50 +0100

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..
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: