[dokuwiki] Re: How to install a plugin?

Marc Haber wrote:
> On Mon, Apr 23, 2007 at 10:17:50AM -0500, Myron Turner wrote:
> > Marc Haber wrote:
> > >When I manually drop the PHP code from
> > >http://wiki.splitbrain.org/plugin:syntaxskeleton to
> > >lib/plugins/example/syntax.php, nothing happens. <TEST> in any wiki
> > >page is still rendered as <TEST>, not as "Hello World".
> > >
> > >Any ideas what I might be doing wrong?
> > 
> > 'lib/plugins/example/'  should be 'lib/plugins/skeleton'.  The directory 
> > name should be the same as the plugin extension.
> 
> I do not understand. Does the plugin need to be registed in any place?
> The code in skeleton/syntax.php does not contain the string
> "skeleton", thus it cannot be self-registering. Please explain.

The directory to put the syntax.php should be named like the plugins'
class extension:

    class syntax_plugin_<plugin name> => lib/plugins/<plugin name>

of the syntaxsceleton this would be lib/plugins/test/.

Regards
chi

-- 
Michael Klier

mail:   chi@xxxxxxxxxxx
www:    http://www.chimeric.de
icq:    206179334
jabber: chi@xxxxxxxxxxxxx
key:    http://downloads.chimeric.de/chi.asc
key-id: 0x8308F551

Other related posts: