[dokuwiki] Re: DokuWiki Farms Idea


Am 22.06.2008 um 15:50 schrieb chi@xxxxxxxxxxx:

Andreas Gohr writes:

My idea was to add a new event DOKU_INIT. This would allow to create an
action
plugin which interferes with DWs init process where all the constants are
defined.
I'm not 100% I understood you correctly, but this is a bit of a
chicken-egg problem. DokuWiki needs to know where to look for plugins
to load them. It will need the constants your plugin wants to define
to find the plugin to define the constants to...

Ok, I got it working as I thought :), it seems to work well and without problems, though I guess it needs a little bit of further testing to be really sure. Further informations about this "proof of concept" cand be found at:

        http://wiki.splitbrain.org/wiki:farm2

Cheers,
        Chi


looks like this is a little more sophisticated version of my Domain- Switching Plugin which worked without action plugins - but I it does a hack to the local.config - http://gammaproduction.de/english/dokuwiki/plugins/domainswitching


Sinc.
Gerry.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: