Translations of this page?:

Zero Template

Author:
JM Massou
Description:
A Zero cool template
LastUpdate:
2008-12-04
Compatible:
Look at dependencies
Template:
zero,
compliant
Screenshot:
screenshot: zero.jpg&.jpg

zero.jpg_.jpg

This the template of my Home Website. I have just to say that it is my first Zero Fault, W3C and CSS DokuWiki compliant template that I made with. Just for Fun and pleasure for the next Hacker of the original DokuWiki “Default” Template could do with it. PS : dynamic_images … a good trick to embed dynamic image.

Dependencies

Download and Install

Use the following URL to download this template:

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

Dynamics Menu

  • Create three pages under the root namespace of your Wiki :
    1. Head : will be display on all the pages of the Wiki
    2. menuL : will be display only in the current namespace and under namespace if this namespace haven't a menuL page.
    3. menuR : will be display only in the current namespace and under namespace if this namespace haven't a menuR page.
head


menuL


Current Name
Space

menuR

Sites using this Template

CODE

  • The Head include in Main.php :
<?php if (function_exists('dwp_display_wiki_page')) dwp_display_wiki_page("head");?>
  • The menuL include in Main.php :
<?php
$pmenu = ":menuL";
if (getNS($ID)) $pmenu = ":".getNS($ID).":menuL";
if (!page_exists($pmenu)) $pmenu = ":menuL";
if (page_exists($pmenu)){
	echo "<div class=\"menuL\" > ";
	if (function_exists('dwp_display_wiki_page')) dwp_display_wiki_page($pmenu); 
	echo "</div> ";		
	}
?>
  • The menuR include in Main.php :
 
 <?php
$pmenu = ":menuR";
if (getNS($ID)) $pmenu = ":".getNS($ID).":menuR";
if (page_exists($pmenu)){
	echo "<div class=\"menuR\" > ";
	if (function_exists('dwp_display_wiki_page')) dwp_display_wiki_page($pmenu); 
	echo "</div> ";		
	}
?>
1) this site is back to default but a copy persist there http://massou.tk/jmwiki/
 
template/zero.txt · Last modified: 2009/08/11 07:41 by tatewake
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate