devel:event:template_pagetools_display
Table of Contents
TEMPLATE_PAGETOOLS_DISPLAY
- Description:
- Lets the pagetools in supported templates be modified.
- DefaultAction:
- The default pagetools are shown
- Preventable:
- yes
- Added:
- 2013-11-18
- Removed:
- 2017-09-01
This event is signalled by templates that implements it. For example, the default 'dokuwiki' template implements the trigger in lib/tpl/dokuwiki/main.php and lib/tpl/dokuwiki/detail.php. Handlers can use it to modify and extend the pagetools.
Note: this event was removed from the DokuWiki Template at 2017-09-01 and replaced by MENU_ITEMS_ASSEMBLY. Other templates may still use this event.
Passed Data
An array $data with two entries is passed:
$data['view']
with the value 'main' or 'detail'$data['items']
with an array of the items which will displayed
The global config array contains the name of the active template in $conf['template']
.
Templates triggering this event
See also
- Code related to this event used in any DokuWiki's files, plugins and templates
- Similar events:
devel/event/template_pagetools_display.txt · Last modified: 2018-12-08 16:06 by torpedo