Learn about DokuWiki
Advanced Use
Corporate Use
Our Community
Follow us on Facebook, Twitter and other social networks.
Learn about DokuWiki
Advanced Use
Corporate Use
Our Community
Follow us on Facebook, Twitter and other social networks.
Compatible with DokuWiki
2013-12-08 "Binky" 2013-05-10 "Weatherwax" 2012-10-13 "Adora Belle" 2012-01-25 "Angua" but need javascript hack in core dokuwiki
A plugin for adding custom code buttons into the toolbar with configuration, mix of codebutton_ext and custombuttons plugins. See screenshots below
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to codebutton_ext, custombuttons
need small javascript hacking in DokuWiki version since 2012-10-13 “Adora Belle”.
Download and install the plugin using the Plugin Manager using the URL given above. Refer to Plugins on how to install plugins manually.
php gd must be enabled
in debian-based system install with
sudo apt-get install php5-gd
<button_name> = "<code_name>"
On some installation relative path don't work. Configure absolute path to font you want to use in variable $font in file genpng.php
$font = '/var/www/html/wiki/lib/plugins/codebutton2/DejaVuSans.ttf'; //path to font you want to use
Some dokuwiki releases resize icons to 16×16 size. Just comment this resizing in /lib/scripts/edit.js (about line 40)
// create the icon and add it to the button .. $ico.attr('src', icon); //Disable resizing icons // $ico.attr('width', 16); // $ico.attr('height', 16); $btn.append($ico);
enable gd in php