Simple template with customizable sidebar
Compatible with DokuWiki
Lemming
Support the ongoing development of DokuWiki Plugins and Templates and buy me a chocolate (Suggested: 3€ for a regular or 5€ for big one with cookies ).
r7throot6 is a template for DokuWiki wiki engine (inspirated on an old Userlinux template). The main features:
Refer to template on how to install and use templates in DokuWiki. Easy way:
<dokuwiki>/lib/tpl/
Template parameters are located in the following file <dokuwiki>/lib/tpl/<template>/conf.php.
+ pages |- menu1 [1] |- default_sidebar [2] |- blog_sidebar [2] |- blog |- post1 |- post2 |- gallery |- photos1 |- beach |- contact
This file is displayed on every generated web page and it contains main menu.
==== My Menu ==== * [[/|Home]] * [[blog|Blog]] * [[gallery|Gallery]] * [[docs|Docs]] * [[code|Code]] * [[contact|Contact]]
Every namespace can have its own sidebar. Simply add a page called namespace_sidebar on same level that the namespace is. If no sidebar is found in the current namespace, the default_sidebar will be used (if it exists). If there is no default_sidebar page, nothing will appears.
==== My Sidebar ==== [[feed.php|{{ blog:rss.png }}]] **Currently Playing** {{blog:customrobocube.jpg?66 }} Nintendo\\ Custom Robo Cube ... **Currently Watching** {{blog:mini_prisonbreak.jpg }} Prison Break\\ 2x04... **Blogroll** * [[http://betabug.ch/blogs/ch-athens|Betabug.ch]] * [[http://www.chimeric.de/|Chimeric]]...
hi, I like the template. but i don't know how to configure it. could you add a tutorial? thx.
I am getting a following error: ““Parse error: parse error, expecting `T_NS_SEPARATOR' in C:/wamp/www/dokuwiki/lib/tpl/r7throot6/tpl_functions.php on line 39”. Don't know why, anybody who can help me. Thanks in advance (A. Rehman)replace by $other = $INFO['namespace'].'_'.$conf['sidebar-theme']['sidebar_pagename'];