// My first DokuWiki plugin

Few months ago I completely updated my website. I chose DokuWiki as a very flexible engine extendable with lots of plugins.

I also used Blog plugin and more to make my personal blog. But I missed one feature. This was metadata footer at blogpost page, similar to the one printed by Include plugin at blog page. Yes, DokuWiki prints footer, but when Discussion plugin is used, it is printed far far below the comments.

So I made simple plugin which inserts this information right before the text and comments. As an example, see information down this page. I had to make some hack of event handler internals to make my plugin to be the first listener of TPL_ACT_RENDER_AFTER event, just before Discussion plugin. As an effect, meta footer is printed before comments. You can download it on my DokuWiki goodies page.

Comments