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 [2021-03-26 23:50] beemoontemplate:flat [2022-07-30 00:18] (current) Klap-in
Line 6: Line 6:
 email         : contact@beemoon.fr email         : contact@beemoon.fr
 lastupdate_dt : 2021-03-25 lastupdate_dt : 2021-03-25
-compatible    : HogFather +compatible    : Hogfather 
-depends       : plugin:Changes, plugin:nspages+depends       : plugin:changes, plugin:nspages
 conflicts     :  conflicts     : 
 similar       : similar       :
Line 17: Line 17:
 sourcerepo    :  sourcerepo    : 
 donationurl   :  donationurl   : 
-Demo page     : https://beemoon.fr 
 ---- ----
 +
 +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.
Line 31: 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 [[: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.
Line 41: Line 42:
 __Create 3 posts__ (as usual in dokuwiki) with theses contents and setup Flat in configuration page: __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)+=== Post 1: Use this as sidebar post (use this post in sidebar setting in Basic) ===
    
-<code>+<code html>
 <html> <html>
  
Line 66: Line 67:
 to change icon (fa-xxxx): https://fontawesome.com/icons?d=gallery&p=2&q=apple to change icon (fa-xxxx): https://fontawesome.com/icons?d=gallery&p=2&q=apple
  
-Post 2: Use this one as recent posts (use this post in topsidebar in flat parameter template)+=== Post 2: Use this one as recent posts (use this post in topsidebar in flat parameter template) === 
   <nspages -h1 -textPages="" -simpleList -nbItemsMax=5 -r -sortByDate -reverse -exclude -exclude:sidebar >   <nspages -h1 -textPages="" -simpleList -nbItemsMax=5 -r -sortByDate -reverse -exclude -exclude:sidebar >
  
-Post 3: Use this one as categories (use this post in bottomsidebar in flat parameter template)+=== Post 3: Use this one as categories (use this post in bottomsidebar in flat parameter template) === 
   <nspages -simpleList -subns -nopages -textNS="">   <nspages -simpleList -subns -nopages -textNS="">
  
 For nspages and changes please contact or see their docs on their plugins pages. For nspages and changes please contact or see their docs on their plugins pages.
      
- Note:  +=== Note:  === 
-If you want to display all post for a namespace use [[https://www.dokuwiki.org/plugin:pagequery|pagequery plugin]] and for example in start post put this+ 
 +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}}   {{pagequery>@systeme;fulltext;sort=cyear,cmonth;group;spelldate;proper;snippet=quoted,3,l3;cols=2;hidestart}}
  
- You can preview this sample on [[http://dokuwiki.beemoon.fr|my demo website]]+====  ==== 
 + 
 +You can preview this sample on [[http://beemoon.fr|my demo website]]
  
template/flat.1616799024.txt.gz · Last modified: 2021-03-26 23:50 by beemoon

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