DokuWiki

It's better when it's simple

User Tools

Site Tools


template:r7throot7

This is an old revision of the document!


r7throot7 Template

Author:
Oscar M. Lage
Description:
Simple template with customizable sidebar
LastUpdate:
2009-12-25
Compatible:
from 2007-11-23 to 2009-12-15 "Lemming"
Template:
r7throot1, r7throot2, r7throot3, r7throot4, r7throot5, r7throot6, r7throot7, r7throot8, r7thblog1
Screenshot:
screenshot: r7throot7.jpg

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

r7throot7 is a template for DokuWiki wiki engine (inspirated on Codigo23, thanks Wu). 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

www.userlinux.net_my_media_projects_dokuwiki_r7throot7.jpg

Download

Filename Version Date
r7throot7-2009-12-25.tar.gz (:!: current stable :!:) 20091225 25.12.2009
r7throot7-20071207.tar.gz 20071207 07.12.2007
r7throot7-20071123.tar.gz 20071123 23.11.2007

Use the following URL to download this template:

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 than 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 John and Tseng: This was a problem of main.php on the template, on last release (7throot7-20071207.tar.gz atm) this problem was fixed. Thanks both for report the bug. Note: Sorry John, due a problem with my browser your comments were deleted. Don't know how to restore them… sorry again. - Oscar M. Lage, 2007/12/11 00:41
Hi: Sorry!, I can't find your name. After login, Edit page have some problem, All edit page will got root ( / ) page.. Is it a bug?. My wiki : http://rj.twbbs.org/~redjoe/rjwiki/doku.php - Tseng D.P, 2007/12/06 20:11
How do I change the footer ? I understand that it is not the buttons at the bottom line, that I can change on main.php. - Thadeu Penna, 2008/03/10 02:43
I'm under Ubuntu, and the downloded files didn't untar/unzip properly. I had to go to the /lib/tpl directory of http://www.aero.iut.lannion.online.fr/ to have a correct version. - Mathieu Perrin, 2008/10/24 00:39
Hello ^^ I just get your template and It work's fine ! I'm now modifing some part of the template to reach my goal : to have a useful wiki for my MMORPG ^^. Here is the site under construction now, but it is his final position. http://wiki.magdales.com/doku.php. Have a good day! - keke, 2008/12/03 07:15
FYI, the search function does not work with this template. Because this template is missing the indexer webbug. See this page: http://www.dokuwiki.org/faq:searchindex I just copied & pasted the one line of code from the bottom of the default template main.php file into the bottom of this template's main.php file. An easy thing to do (although not such an easy thing for me to initially find.) - Frank Van Hooft, 2009/06/09 22:10
I want to use the sidebar to put Links into. I don't know what file i have to change. Can you help me. I don't speek English very well, sorry - emmanuel dousselin, 2009/07/16 23:06
template/r7throot7.1266740343.txt.gz · Last modified: 2010-02-21 09:19 by dominik

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki