Translations of this page?:
Learn about DokuWiki
Advanced Use
Corporate Use
Our Community
Follow us on Facebook, Twitter and other social networks.
Learn about DokuWiki
Advanced Use
Corporate Use
Our Community
Follow us on Facebook, Twitter and other social networks.
This event is signalled by templates that use the tpl_toolsevent()
'function. In inc/template.php the function tpl_toolsevent()
implements the trigger. Handlers can use it to modify and extend the sitetools e.g. links to Media Manager and Sitemap.
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.
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']
.