| Author | Kirill Bezrukov |
|---|---|
| Compatibility | DokuWiki 2007-11-06 and later |
| Download | Masa |
| Last Update | 2008-04-22 |
Simply download the template file into the lib/tpl directory of your dokuwiki installation and unpack it. Then modify your dokuwiki.php (or local.php ) to use this template, whose name is masa .
You can modify the template options from the configuration manager.
These are the different sidebar types.
| Type | Description |
|---|---|
| main | see main sidebar |
| user | see user sidebar |
| group | see group sidebar |
| namespace | see namespace sidebar |
| index | shows the DokuWiki index |
| custom | see custom sidebar This comes in handy for example if you like to add google adds. |
If you like to use the user- or group-sidebars you have to set up your <dokuwiki>/conf/acl.auth.php the right way.
This is an example setup for a user “tom” (User-Name: tom) who is a member of group ”@user”. The “user sidebar namespace” is set to ”user” and “group sidebar namespace” is set to ”group”. We will grant him write/page-creation/upload permissions for his own namespace and read/edit permissions for the group:users namespace to everyone who`s part of the group ”@users”.
---- snip ---- user:* @ALL 0 group:* @ALL 0 user:tom:* tom 8 group:users:* @user 2 ---- snap ----
First of all you probably like to create the main sidebar. If you didn`t change the “Pagename” setting you simply have to create a wikipage called sidebar1) and add some links.
====== Navigation ====== [[wiki:playground]]\\ [[wiki:syntax]]\\ [[some:more:links]]\\
If you`ve enabled user sidebars you can add a sidebar for each registered user. All you have to do is create a wikipage user:username:sidebar. Note, this feature depends on a proper acl-setup.
Group sidebars are set up just like user sidebars.
If you`ve enable namespace sidebars you can add a sidebar for every namespace you like. Thus the naming scheme is the same for all sidebars, the only thing you`ve to do is creating a page called, you guessed right
, “sidebar” inside the desired namespace. This sidebar, then, will only show if you browse pages within this namespace.
This template supports action menu management from the administration tools which are shipped with dokuwiki.
Add your own in this list if you use this template!
This template has been tested with the following browsers :
If you verify this template against a browser which is not in the above list, add it !
pagename to