Site Tools


wiki:pluginsyntax:navigation-template

Navigation Sidebar Template

Installing the template

Put the sidebar template directory in the lib/tpl directory alongside the default template. Then, add the following to your conf/local.php file:

$conf['template']    = 'sidebar';  

If you want a tagline, you can define it as follows:

$conf['tagline']    = 'Your own tagline';  

Defining sidebar content

The content of the sidebar is defined in a page called sidebar. You can use a sidebar page per namespace. You have to define the page in a normal wiki way if it doesn't exist yet. (Hint: in DokuWiki, simply searching for the page makes it easy to create it.) The template searches for the sidebar page first in the current namespace, and then higher on if none was found. If no sidebar page is found, the index is displayed by default.

wiki/pluginsyntax/navigation-template.txt · Last modified: 2018/05/28 22:29 by 127.0.0.1