This is an old revision of the document!
flat Template
Compatible with DokuWiki
Frusterick Manners
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
My first Wordpress template conversion for Dokuwiki. Responsible design for smartphones.
Download and Install
Use the following URL to download this template:
https://github.com/beemoon/DokuwikiTpl/raw/master/flat.zip
Refer to template on how to install and use templates in Dokuwiki.
Install
First install nspages and changes plugins and enable HTML embended code (see htmlok). I use them in sidebar. If not install Flat not work properly.
Create 3 posts (as usual in dokuwiki) with theses contents and setup Flat in configuration page:
Post 1: Use this as sidebar post (use this post in sidebar setting in Basic)
<html> <li class="fa fa-home menu-item menu-item-type-custom"> <a href="?id=start">Home</a> </li> <li class="fa fa-star menu-item menu-item-type-custom"> <a href="?id=sitographie">Sitographie</a> </li> <li class="fa fa-code menu-item menu-item-type-custom"> <a href="?id=projectDev">Projets developpements</a> </li> <li class="fa fa-envelope menu-item menu-item-type-post_type menu-item-object-page"> <a href="?id=contact">Contact</a> </li> </html>
Post 2: Use this one as recent posts (use this post in topsidebar in flat parameter template)
{{changes>5,render = list(summary)&type=create,edit,minor}}
Post 3: Use this one as categories (use this post in bottomsidebar in flat parameter template)
<nspages -simpleList -subns -nopages -textNS="">
For nspages and changes please contact or see their docs on their plugins pages.
Note: If you want to display all post for a namespace use pagequery plugin and for example in start post put this
{{pagequery>@systeme;fulltext;sort=cyear,cmonth;group;spelldate;proper;snippet=quoted,3,l3;cols=2;hidestart}}
You can preview this sample on my demo website