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 revisionPrevious revision
plugin:tplinc [2023-01-10 18:59] – version upped andiplugin:tplinc [2024-01-08 15:54] (current) Aleksandr
Line 21: Line 21:
 ---- ----
  
-[[https://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/|{{ https://www.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 35: Line 35:
   * [[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.+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/   cp lib/plugins/tplinc/dokuwiki/* conf/
 +
 ===== Configuration and Settings ===== ===== Configuration and Settings =====
  
Line 46: Line 47:
   * **Location** -- this is where the page will be shown in the template, the available areas are set by the used template   * **Location** -- this is where the page will be shown in the template, the available areas are set by the used template
   * **Skip ACL** -- unless this box is ticked, only page the current user may read are included   * **Skip ACL** -- unless this box is ticked, only page the current user may read are included
- 
  
 As pattern you can use the following: As pattern you can use the following:
Line 118: Line 118:
 **Releases:** **Releases:**
 {{rss>https://github.com/cosmocode/dokuwiki-plugin-tplinc/releases.atom description author}} {{rss>https://github.com/cosmocode/dokuwiki-plugin-tplinc/releases.atom description author}}
- 
- 
  
  
plugin/tplinc.txt · Last modified: 2024-01-08 15:54 by Aleksandr

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