Table of Contents
r7throot6 Template
Compatible with DokuWiki
Lemming
Donate
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 ).
Description
r7throot6 is a template for DokuWiki wiki engine (inspirated on an old Userlinux template). The main features:
- Menu - customizable menu, that is displayed on every page.
- Sidebar - customizable sidebar, that is displayed on every page (sidebar page). Every namespace may have his own sidebar (sidebar page into the namespace).
- Footer - user defined footer informations.
- No TOC - I'd not set the table of contents, all of the namespaces/pages would be running with NOTOC (feel free to design your own TOC and send me by mail to include on the template).
Preview
Installation
Refer to template on how to install and use templates in DokuWiki. Easy way:
- Download the tarball/zip-file
- Unpack it into
<dokuwiki>/lib/tpl/
- Login as admin and change the template in the configuration manager
Configuration
Template parameters are located in the following file <dokuwiki>/lib/tpl/<template>/conf.php.
File Structure
+ pages |- menu1 [1] |- default_sidebar [2] |- blog_sidebar [2] |- blog |- post1 |- post2 |- gallery |- photos1 |- beach |- contact
Menu1
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]]
Sidebar
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]]...
Changelog
- 25.12.2009: Template compatible with last DokuWiki release (2009-12-25 Lemming codename) - r0sk.
- 07.12.2007: Template update. The links doesn't run without mod_rewrite. Fixed!. Thanks to Thomas Halinka for the report.
- 23.11.2007: Initial version, compatible with multitemplate. - r0sk.
Sites using this Template
- Add your site here ;)
Discussion
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'];