DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:tplinc

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugin:tplinc [2018-05-28 19:59]
Klap-in [Installation]
plugin:tplinc [2019-03-21 23:53] (current)
andi version upped
Line 6: Line 6:
 email      : dokuwiki@cosmocode.de ​ email      : dokuwiki@cosmocode.de ​
 type       : admin, helper type       : admin, helper
-lastupdate : 2017-03-28+lastupdate : 2019-03-21
 compatible : Greebo compatible : Greebo
 depends ​   :  depends ​   : 
Line 21: Line 21:
 ---- ----
  
-[[http://​www.cosmocode.de/​en/​open-source/​dokuwiki-plugins/​|{{ http://​cosmocode.de/​static/​img/​dokuwiki/​dwplugins.png?​recache|A CosmoCode Plugin}}]]+[[https://​www.cosmocode.de/​en/​open-source/​dokuwiki-plugins/​|{{ http://​cosmocode.de/​static/​img/​dokuwiki/​dwplugins.png?​recache|A CosmoCode Plugin}}]]
  
 This plugin allows template authors to define areas in the template where additional content can be included. Users of that template can then use this plugin to define which logic should be used to determine the content (pages) that should be included depending on the current page. This plugin allows template authors to define areas in the template where additional content can be included. Users of that template can then use this plugin to define which logic should be used to determine the content (pages) that should be included depending on the current page.
Line 32: Line 32:
  
 :!: The plugin needs a suitable template to provide hooks to which it can include the pages! So far, the following templates include such hooks: :!: The plugin needs a suitable template to provide hooks to which it can include the pages! So far, the following templates include such hooks:
 +
   * [[template:​sprintdoc]]   * [[template:​sprintdoc]]
  
 +You can use this plugin with templates that use traditional include hooks, by calling the plugin from within those hook files. For the [[template:​dokuwiki|DokuWiki Template]] you can simply use the hookfiles distributed with this plugin. To do so copy all the files within the ''​dokuwiki''​ directory of this plugin to your wiki's ''​conf''​ directory. This will make all the [[template:​dokuwiki|supported Include Hooks]] available as hooks within this plugin.
 +
 +  cp lib/​plugins/​tplinc/​dokuwiki/​* conf/
 ===== Configuration and Settings ===== ===== Configuration and Settings =====
  
plugin/tplinc.1527530361.txt.gz ยท Last modified: 2018-05-28 19:59 by Klap-in