[dokuwiki] Re: DokuWiki Farms Idea
- From: Gerry Weißbach <gerry.w@xxxxxxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sun, 22 Jun 2008 16:05:23 +0200
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
- Follow-Ups:
- [dokuwiki] Re: DokuWiki Farms Idea
- From: chi
- References:
- [dokuwiki] DokuWiki Farms Idea
- From: chi
- [dokuwiki] Re: DokuWiki Farms Idea
- From: Andreas Gohr
- [dokuwiki] Re: DokuWiki Farms Idea
- From: chi
Other related posts:
- » [dokuwiki] DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
- » [dokuwiki] Re: DokuWiki Farms Idea
Andreas Gohr writes:
My idea was to add a new event DOKU_INIT. This would allow to create anactionplugin which interferes with DWs init process where all the constants aredefined.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
- [dokuwiki] Re: DokuWiki Farms Idea
- From: chi
- [dokuwiki] DokuWiki Farms Idea
- From: chi
- [dokuwiki] Re: DokuWiki Farms Idea
- From: Andreas Gohr
- [dokuwiki] Re: DokuWiki Farms Idea
- From: chi