DokuWiki

It's better when it's simple

User Tools

Site Tools


template:flat

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
template:flat [2017-09-11 22:29] 78.245.226.126template:flat [2017-10-03 18:40] Aleksandr
Line 2: Line 2:
  
 ---- template ---- ---- template ----
-description   : Wordpress template for Dokuwiki+description   : Wordpress template for DokuWiki
 author        : beemoon and co author        : beemoon and co
 email         : contact@beemoon.fr email         : contact@beemoon.fr
 lastupdate_dt : 2017-09-11 lastupdate_dt : 2017-09-11
 compatible    : Frusterick Manners compatible    : Frusterick Manners
-depends       : Changes Plugin,nspages plugin+depends       : plugin:Changes, plugin:nspages
 conflicts     :  conflicts     : 
 similar       : similar       :
Line 25: Line 25:
 Use the following URL to download this template: Use the following URL to download this template:
  
-  https://github.com/beemoon/DokuwikiTpl/raw/master/flat.zip+https://github.com/beemoon/DokuwikiTpl/raw/master/flat.zip
  
 Refer to [[:template]] on how to install and use templates in Dokuwiki. Refer to [[:template]] on how to install and use templates in Dokuwiki.
- 
  
 === Install === === Install ===
  
-First install nspages and changes plugins and enable HTML embended code. I use them in sidebar.+First install [[:plugin:nspages]] and [[:plugin:changes]] plugins and enable HTML embended code (see [[:config:htmlok]]). I use them in sidebar.
  
 Create 3 posts with theses contents and setup Flat in configuration page: Create 3 posts with theses contents and setup Flat in configuration page:
  
-use this as sidebar post+Use this as sidebar post
  
 <code> <code>
Line 42: Line 41:
  
 <li class="fa fa-home menu-item menu-item-type-custom"> <li class="fa fa-home menu-item menu-item-type-custom">
- +    <a href="?id=start">Home</a>
-<a href="?id=start">Home</a> +
 </li> </li>
  
 <li class="fa fa-star menu-item menu-item-type-custom"> <li class="fa fa-star menu-item menu-item-type-custom">
- +    <a href="?id=sitographie">Sitographie</a>
-<a href="?id=sitographie">Sitographie</a> +
 </li> </li>
  
 <li class="fa fa-code menu-item menu-item-type-custom"> <li class="fa fa-code menu-item menu-item-type-custom">
- +  <a href="?id=projectDev">Projets developpements</a>
-<a href="?id=projectDev">Projets développements</a> +
 </li> </li>
  
 <li class="fa fa-envelope menu-item menu-item-type-post_type menu-item-object-page"> <li class="fa fa-envelope menu-item menu-item-type-post_type menu-item-object-page">
- +  <a href="?id=contact">Contact</a>
-<a href="?id=contact">Contact</a> +
 </li> </li>
  
 </html> </html>
- 
 </code> </code>
  
-use this one as recent posts +Use this one as recent posts 
-<code> +  {{changes>5,render = list(summary)&type=create,edit,minor}}
-{{changes>5,render = list(summary)&type=create,edit,minor}} +
-</code>+
  
-use this one as categories +Use this one as categories 
-<code> +  <nspages -simpleList -subns -nopages -textNS="">
-<nspages -simpleList -subns -nopages -textNS=""+
-</code>+
  
-... 
template/flat.txt · Last modified: 2022-07-30 00:18 by Klap-in

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