Pierre Spring wrote:
> hi all,
>
> i am currently writing a process/workflow manager based
on dokuwiki...
> and i am doing this based on several syntax and action
plugins, in order
> to be able to update dokuwiki easily...
>
> i am starting to get along in dokuwiki... and i have to
say that i love
> the way the events are implemented!!!
>
> but back to my question:
> * what would be the cleanest way to define common
functions for a
> plugin suite?
> * where would you put such a toolbox.php file?
> * is it possible to put several syntax and action
plugins in a
> single /lib/plugins/folder?
>
> cheerz... and greetz
> pierre
>
> --
> caillou on freenode
>
>
Hi,
* Checkout helper plugins. Esther is probably the biggest
user of them
with her suite of plugins (e.g. Blog).
* Make it a helper plugin
* Yes. See the plugin reference pages at splitbrain, one
describes the
plugin file structure.
e.g. for single plugin
/lib/plugins/<plugin name>/syntax.php
for multiple plugins
/lib/plugins/<plugin name>/syntax/<component
name>.php
/lib/plugins/<plugin name>/syntax/<component
name2>.php
class names will end with <plugin name>_<component
name> (making it
inadvisable to use an underscore in your actual plugin
name).
Chris
PS. (iirc) Helper plugins are currently only found in DEV
version.
--
DokuWiki mailing list - more info at
http://wi
ki.splitbrain.org/wiki:mailinglist
|