Terence J. Grant wrote:
Every part of DokuWiki (without any changes to those parts) is action plugin aware, that is one advantages of the system. There are three global elements:I have looked at the plugin and read the thread. ;)
Ok, thanks :-)
My earlier point is that you don't need a code.php, use action.php which will save you one line in your template and if you use a decide to a event handler it'll save you the function_exists as well. [...] But as I keep trying to point out, Dokuwiki already has the mechanisms to extend template functions. They just need to be used. e.g. to add button types and new action links, an event handled similarly to template actions and TPL_ACT_UNKNOWN would do the trick.
Ok, I believe I understand now where you've been coming from. I didn't realize the tpl functions already had "action plugin aware" code in them in the current dev. (Again I only work with stable.)
Cheers,
Chris
-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist