plugin:tplinc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:tplinc [2018-04-24 16:22] – andi | plugin:tplinc [2024-01-08 15:54] (current) – Aleksandr | ||
---|---|---|---|
Line 5: | Line 5: | ||
author | author | ||
email : dokuwiki@cosmocode.de | email : dokuwiki@cosmocode.de | ||
- | type : | + | type : |
- | lastupdate : 2017-03-28 | + | lastupdate : 2023-01-03 |
compatible : Greebo | compatible : Greebo | ||
depends | depends | ||
Line 21: | Line 21: | ||
---- | ---- | ||
- | [[http:// | + | [[https:// |
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 29: | Line 29: | ||
===== Installation ===== | ===== Installation ===== | ||
- | Install | + | Search and install |
:!: 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: | * [[template: | ||
+ | |||
+ | You can use this plugin with templates that use traditional include hooks, by calling the plugin from within those hook files. For the [[template: | ||
+ | |||
+ | cp lib/ | ||
===== Configuration and Settings ===== | ===== Configuration and Settings ===== | ||
Line 42: | 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 61: | Line 65: | ||
==== Announcing available Include Locations ==== | ==== Announcing available Include Locations ==== | ||
- | You need to announce which locations are available in your template by registering a '' | + | You need to announce which locations are available in your template by registering a '' |
Please refer to [[devel: | Please refer to [[devel: | ||
Line 114: | Line 118: | ||
**Releases: | **Releases: | ||
{{rss> | {{rss> | ||
- | |||
- | |||
plugin/tplinc.1524579775.txt.gz · Last modified: 2018-04-24 16:22 by andi