DokuWiki

It's better when it's simple

User Tools

Site Tools


template:zero

Zero Template

Compatible with DokuWiki

2014-09-29d "Hrun"

template A Zero cool template

Last updated on
2008-12-04
Requires
displaywikipage

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

Tagged with zero

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: 2019-09-07 23:42 by Aleksandr