2008-09-07 // 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

@Thadeu Penna: You're welcome. Your translation is included in updated version. Also your credits

It's me again. Firstly, thanks for including Brazilian Portuguese translation. I missed one translation in settings.php
$lang['show_user'] = 'Mostrar nome do autor';
Other point is, I am not sure if is blogmeta related, but blog and blogmeta do not follow the date format given in the Configuration Settings. I have set to %d/%m/%Y and I got %Y/%m/%d.
All the best

@Thadeu Penna: Hm, I see your page use new version of DokuWiki. They changed date formating syntax with last release (http://www.dokuwiki.org/changes#release_2008-05-05). Have you updated date format setting? The same happened to me after update. My plugin use settings from Display Settings section and respect new format. You can see it in this blogpost. My setting is %d.%m.%Y %H:%M
Hi,
Does this plugin provide comments system or does it compliment “Discussion” plugin?
Thanks Samuel
@Samuel Williams: Sorry, after testing I found out that you need to install discussion plugin.
Doh!

I can't install it like the http://mplicka.cz/en/blog. Plz make some tuts
Leave a comment…
- E-Mail address will not be published.
- Formatting:
//italic// __underlined__
**bold**''preformatted''
- Links:
[[http://example.com]]
[[http://example.com|Link Text]] - Quotation:
> This is a quote. Don't forget the space in front of the text: "> "
- Code:
<code>This is unspecific source code</code>
<code [lang]>This is specifc [lang] code</code>
<code php><?php echo 'example'; ?></code>
Available: html, css, javascript, bash, cpp, … - Lists:
Indent your text by two spaces and use a * for
each unordered list item or a - for ordered ones.
Nice plugin, thanks!
I just translated the files to Brazilian Portuguese (pt-br). So settings.php becomes:
and lang.php $lang[“posted”] = “Postado por”;
Best wishes from Brazil