DokuWiki

It's better when it's simple

User Tools

Site Tools


template:r7throot6

r7throot6 Template

Compatible with DokuWiki

from 2007-11-23 to 2009-12-15 "Lemming"

template Simple template with customizable sidebar

Last updated on
2009-12-25
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to r7thblog1, r7throot1, r7throot2, r7throot3, r7throot4, r7throot5, r7throot7, r7throot8

Tagged with sidebar

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

bitbucket.org_r0sk_dokuwiki-r7throot6_raw_d092e06519f7ac62fe4b9af59f05bc91a13d4515_images_r7throot6.jpg

Installation

Refer to template on how to install and use templates in DokuWiki. Easy way:

  1. Download the tarball/zip-file
  2. Unpack it into <dokuwiki>/lib/tpl/
  3. 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

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]]...

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

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'];
template/r7throot6.txt · Last modified: 2014-01-17 10:13 by r0sk