codebutton2 plugin

Compatible with DokuWiki

No compatibility info given!

plugin A plugin for adding custom code buttons into the toolbar with configuration, mix of codebutton_ext and custombuttons plugins. See screenshots below

Last updated on
2010-12-11
Provides
Action
Repository
Source

Similar to codebutton_ext, custombuttons

Tagged with button, code, toolbar

Download and Installation

Download and install the plugin using the Plugin Manager using the URL given above. Refer to Plugins on how to install plugins manually.

configuration in genpng.php

configure 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 

configuration of php

enable gd in php

Syntax and Usage

  1. Go to Admin Panel>CodeButton2
  2. Add buttons in a ini file format following this syntax:
    <button_name> = "<code_name>"
  3. Click save
  4. Now you will be able to see the code block and buttons at your toolbar.

ScreenShots

Configuration:

Result: new buttons in toolbar

plugin/codebutton2.txt · Last modified: 2012/04/11 15:32 by 77.51.250.2
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate