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
template:flat [2017-09-11 21:29] 78.245.226.126template:flat [2022-07-30 00:18] (current) Klap-in
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 : 2021-03-25 
-compatible    : +compatible    : Hogfather 
-depends       : Changes Plugin,nspages plugin+depends       : plugin:changes, plugin:nspages
 conflicts     :  conflicts     : 
 similar       : similar       :
 screenshot_img: https://github.com/beemoon/DokuwikiTpl/raw/master/screenshotFlat.png screenshot_img: https://github.com/beemoon/DokuwikiTpl/raw/master/screenshotFlat.png
-tags          :+tags          : cms, responsive, wordpress
  
 downloadurl   : https://github.com/beemoon/DokuwikiTpl/raw/master/flat.zip downloadurl   : https://github.com/beemoon/DokuwikiTpl/raw/master/flat.zip
Line 18: Line 18:
 donationurl   :  donationurl   : 
 ---- ----
 +
 +You can preview this sample on [[http://beemoon.fr|my demo website]]
  
 My first Wordpress template conversion for Dokuwiki. Responsible design for smartphones. My first Wordpress template conversion for Dokuwiki. Responsible design for smartphones.
 +
 +Changes:
 +
 +  * CSS fix
 +  * Jquery update for menu in smartphone and tablet resolution
  
 ===== Download and Install ====== ===== Download and Install ======
Line 25: Line 32:
 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 [[:plugin:nspages]] and [[:plugin:changes]] plugins and enable HTML embended code (see [[:config:htmlok]]). I use them in sidebar. If not install Flat not work properly.
  
-First install nspages and changes plugins and enable HTML code. I use them in sidebar.+__Create 3 posts__ (as usual in dokuwiki) with theses contents and setup Flat in configuration page:
  
-Create 3 posts: +=== Post 1Use this as sidebar post (use this post in sidebar setting in Basic) === 
- +  
-use this as sidebar post +<code html>
- +
-<code>+
 <html> <html>
  
 <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>
 +</li>
  
-<a href="?id=sitographie">Sitographie</a>+<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> </li>
  
-<li class="fa fa-code menu-item menu-item-type-custom">+</html> 
 +</code> 
 +to change icon (fa-xxxx): https://fontawesome.com/icons?d=gallery&p=2&q=apple
  
-<a href="?id=projectDev">Projets développements</a>+=== Post 2: Use this one as recent posts (use this post in topsidebar in flat parameter template) ===
  
-</li>+  <nspages -h1 -textPages="" -simpleList -nbItemsMax=5 -r -sortByDate -reverse -exclude -exclude:sidebar >
  
-<li class="fa fa-envelope menu-item menu-item-type-post_type menu-item-object-page">+=== Post 3: Use this one as categories (use this post in bottomsidebar in flat parameter template) ===
  
-<a href="?id=contact">Contact</a>+  <nspages -simpleList -subns -nopages -textNS="">
  
-</li>+For nspages and changes please contact or see their docs on their plugins pages. 
 +   
 +=== Note:  ===
  
-</html>+If you want to display all post for a namespace use [[plugin:pagequery|pagequery plugin]] and for example in start post put this
  
-</code>+  {{pagequery>@systeme;fulltext;sort=cyear,cmonth;group;spelldate;proper;snippet=quoted,3,l3;cols=2;hidestart}}
  
-use this as last change +====  ====
-<code> +
-{{changes>5,render list(summary)&type=create,edit,minor}} +
-</code>+
  
-use this as categories +You can preview this sample on [[http://beemoon.fr|my demo website]]
-<code> +
-<nspages -simpleList -subns -nopages -textNS=""> +
-</code>+
  
-... 
template/flat.1505158184.txt.gz · Last modified: 2017-09-11 21:29 by 78.245.226.126

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