[dokuwiki] Extending the toolbar (was: Action Plugins)

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Mon, 17 Apr 2006 16:50:34 +0200

On Mon, 17 Apr 2006 07:48:05 -0500
"Martin Tschofen" <martin.tschofen@xxxxxxxxx> wrote:

> I'm not sure I could handle that myself. Perhaps with some pointers.
> All I want is to append some buttons.
> Currently I have to add this to js.php:
> 
>       if ($conf['template'] == "IA") {
>               $filePath =
>               realpath(dirname(__FILE__).'/../lib/tpl/IA/form.php');
>               if(@file_exists($filePath)){
>                       require_once($filePath);
>                       $menu = createFormTools($menu);
>               }
>       };
> 
> So Andi, any suggestions on what it would take?...martin

I'm not sure what you are doing in your include file but I just
described the most simple method to extend the toolbar at
http://wiki.splitbrain.org/wiki:tips:toolbarbutton - hope that helps.

Andi

Other related posts: