Existuje prima plugin umožňující vykreslovat progressbar na stránkách, ale obsahuje chybu a autor se nemá ji opravit, tak jsem to udělal. Dokud nevyjde nová verze, můžete použít tu moji, která má dvě záplaty:
release complete progress bar plugin, 04.03.2008 23:23:
Hello,
I'm trying to get progressbar plugin for Dokuwiki from author web site. Unfortunately, it doesn't work. Would it be possible to send me plugin-progressbar.zip (especially images) ?
Thanks for your help,
Denis
Denis, 07.04.2008 12:13:
Hi,
the plugin does not work if you are not in the root namespace. For my Wiki, I added “/dokuwiki/“ in line 83 of the /lib/plugins/progressbar/syntax.php, but I assume there is a variable containing the directory in which DokuWiki ist installed.
Regards,
Denis (Greetings to my namesake above! )
An Average Geek, 17.09.2008 11:46:
I poked around some other plugin files and the Dokuwiki documentation. To fix the problem of using this plugin when not in the root namespace, edit Line 83 as follows:
Diskuze
Hello,
I'm trying to get progressbar plugin for Dokuwiki from author web site. Unfortunately, it doesn't work. Would it be possible to send me plugin-progressbar.zip (especially images) ?
Thanks for your help,
Denis
Hi,
the plugin does not work if you are not in the root namespace. For my Wiki, I added “/dokuwiki/“ in line 83 of the /lib/plugins/progressbar/syntax.php, but I assume there is a variable containing the directory in which DokuWiki ist installed.
Regards,
Denis (Greetings to my namesake above!
)
I poked around some other plugin files and the Dokuwiki documentation. To fix the problem of using this plugin when not in the root namespace, edit Line 83 as follows:
<pre>$renderer→doc .= '<img width=„100“ height=„16“ src=“'. DOKU_BASE .'lib/plugins/progressbar/images/' . $data[0] . '.gif“ alt=“' . $data[0] . '% completed“/>';</pre>
Gah sorry about that let's try again shall we?