DokuWiki

It's better when it's simple

User Tools

Site Tools


template:simple

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
template:simple [2018-05-10 21:17] – [previous versions] Aleksandrtemplate:simple [2018-05-10 21:22] Aleksandr
Line 2: Line 2:
  
 ---- template ---- ---- template ----
-description   : Features a CSS dropdown menu.+description   : Features a CSS dropdown menu
 author        : Michael Klier author        : Michael Klier
 email         : chi@chimeric.de email         : chi@chimeric.de
Line 13: Line 13:
 tags          : !discontinued, blog, cms tags          : !discontinued, blog, cms
  
-downloadurl   :+downloadurl   : https://github.com/chimeric/dokuwiki-template-simple/archive/master.zip
 bugtracker    : https://github.com/chimeric/dokuwiki-template-simple/issues bugtracker    : https://github.com/chimeric/dokuwiki-template-simple/issues
 sourcerepo    : https://github.com/chimeric/dokuwiki-template-simple sourcerepo    : https://github.com/chimeric/dokuwiki-template-simple
Line 26: Line 26:
  
 ===== Features ===== ===== Features =====
 +
   * custom CSS hover topbar menu via a normal wiki page   * custom CSS hover topbar menu via a normal wiki page
  
 ===== Download ===== ===== Download =====
 +
   * **latest**: http://r.notomorrow.de/dokuwiki-template-arctic/pkg/arctic.tgz ([[https://github.com/samfisch/dokuwiki-template-simple|github]])   * **latest**: http://r.notomorrow.de/dokuwiki-template-arctic/pkg/arctic.tgz ([[https://github.com/samfisch/dokuwiki-template-simple|github]])
  
Line 41: Line 43:
  
 ===== Installation ===== ===== Installation =====
 +
   - [[#download]] the tarball/zip-file   - [[#download]] the tarball/zip-file
   - unpack it into ''<dokuwiki>/lib/tpl/''   - unpack it into ''<dokuwiki>/lib/tpl/''
Line 57: Line 60:
 # tar -xvf template-simple.tgz # tar -xvf template-simple.tgz
 </code> </code>
- 
-**Note: http://chimeric.de/_src/template-simple.tgz always points to the latest stable version!** 
  
 ===== Configuration ===== ===== Configuration =====
 +
 This template has no configuration options yet. This template has no configuration options yet.
  
Line 66: Line 68:
  
 ==== Creating the Topbar ==== ==== Creating the Topbar ====
 +
 The template uses the CSS hover technique to generate the topbar menu from a normal wiki page which contains unordered lists of links. Therefore you have to create a page called "topbar" in your DokuWiki root namespace. Edit it and insert an unordered list of links per menu item. Don't insert anything else than these lists in this page as it will lead to garbage ;-). At the moment only lists with up to 4 levels are supported. You can also have a separate topbar for each namespace. For example, if you browse to ''wiki:syntax'' and the page ''wiki:topbar'' exists it will be used as the topbar. The template uses the CSS hover technique to generate the topbar menu from a normal wiki page which contains unordered lists of links. Therefore you have to create a page called "topbar" in your DokuWiki root namespace. Edit it and insert an unordered list of links per menu item. Don't insert anything else than these lists in this page as it will lead to garbage ;-). At the moment only lists with up to 4 levels are supported. You can also have a separate topbar for each namespace. For example, if you browse to ''wiki:syntax'' and the page ''wiki:topbar'' exists it will be used as the topbar.
  
Line 81: Line 84:
  
 **The space between those lists is important!** **The space between those lists is important!**
- 
- 
  
  
 ===== Style ===== ===== Style =====
 +
 The template style (colors/font-sizes/width) can be configured via the ''style.ini'' file located in ''<dokuwiki>/lib/tpl/simple/style.ini''. The template style (colors/font-sizes/width) can be configured via the ''style.ini'' file located in ''<dokuwiki>/lib/tpl/simple/style.ini''.
 +
 +
 ===== Browser Compatibility ===== ===== Browser Compatibility =====
 +
 The template was tested with the following browsers. The template was tested with the following browsers.
  
Line 105: Line 110:
  
 ===== Changelog ===== ===== Changelog =====
 +
 A complete changelog is available at my [[https://github.com/chimeric/dokuwiki-template-simple/commits/|github page]]! A complete changelog is available at my [[https://github.com/chimeric/dokuwiki-template-simple/commits/|github page]]!
  
-{{rss>https://github.com/chimeric/dokuwiki-template-simple/commits/master.atom 10 1d date}}+{{rss>https://github.com/chimeric/dokuwiki-template-simple/commits/master.atom date}}
  
 ===== Bugs / Feature Requests ===== ===== Bugs / Feature Requests =====
template/simple.txt · Last modified: 2023-02-28 22:14 by Aleksandr

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