DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:toolbuttondel

ToolButtonDel Plugin

Compatible with DokuWiki

  • 2017-02-19 "Frusterick Manners" yes
  • 2016-06-26 "Elenor Of Tsort" yes
  • 2015-08-10 "Detritus" yes
  • 2014-09-29 "Hrun" yes

plugin Removes buttons from toolbar, enabling customization of the toolbar; 'users only' branch can hide media manager and linkwiz from non-logged in users.

Last updated on
2017-04-04
Provides
Action
Repository
Source

Tagged with toolbar

Installation

Install the plugin using the Extension Manager; if installing manually from the Extension Manager use the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

This plugin enables administrators to customize the toolbar by deleting unwanted toolbar items. This is done through the Configuration Settings under Admin. Simply scroll down to Toolbuttondel Plugin Settings and check off those toolbar items which you would like to eliminate from the toolbar.

Users Only Branch for Open Wiki

This branch enables the administrator to set up two levels of toolbars, distinguishing between logged in users and visitors. Logged in users have access to the server, that is, they can access the media manager and the link wizard, whereas visitors cannot. This feature has a function in open wikis, where anyone coming to the site can contribute texts.

To activate this feature, there is a configuration option: users_only. For activation, this option must be set to true and the link options in the Configuration manager must be set to true.

To make this fully functional, you will want to remove the media manager from the template's user tools. On the default dokuwiki template, you can hide the site tools from visitors by checking to see if the user is logged in:

                <?php
                global $INPUT;
                if($INPUT->server->has('REMOTE_USER')) {
                    tpl_toolsevent('sitetools', array(
                        tpl_action('recent', true, 'li', true),
                        tpl_action('media', true, 'li', true),
                        tpl_action('index', true, 'li', true),                      
                    ));
                }    
                ?>

Download:

Change Log

Discussion

plugin/toolbuttondel.txt · Last modified: 2017-08-03 04:50 by turnermm