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-12-02 22:28] 78.245.226.126template:flat [2022-07-30 00:18] (current) Klap-in
Line 5: Line 5:
 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    : Frusterick Manners +compatible    : Hogfather 
-depends       : plugin:Changes, plugin:nspages+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.+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.
  
-Create posts (as usual in dokuwiki) with theses contents and setup Flat in configuration page:+__Create posts__ (as usual in dokuwiki) with theses contents and setup Flat in configuration page:
  
-Use this as sidebar post +=== Post 1: Use this as sidebar post (use this post in sidebar setting in Basic) === 
- +  
-<code>+<code html>
 <html> <html>
  
Line 58: Line 65:
 </html> </html>
 </code> </code>
 +to change icon (fa-xxxx): https://fontawesome.com/icons?d=gallery&p=2&q=apple
  
-Use this one as recent posts +=== 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}}+ 
 +  <nspages -h1 -textPages="" -simpleList -nbItemsMax=-r -sortByDate -reverse -exclude -exclude:sidebar > 
 + 
 +=== Post 3: Use this one as categories (use this post in bottomsidebar in flat parameter template) ===
  
-Use this one as categories 
   <nspages -simpleList -subns -nopages -textNS="">   <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 [[plugin:pagequery|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 [[http://beemoon.fr|my demo website]]
  
template/flat.1512250127.txt.gz · Last modified: 2017-12-02 22:28 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