====== TEMPLATE_SITETOOLS_DISPLAY ====== ---- dataentry event ---- Description: Lets the sitetools in supported templates be modified. DefaultAction: The default sitetools are shown Preventable: yes Added_dt: 2013-11-18 Removed_dt: 2017-09-01 ---- This event is signalled by templates that use the ''tpl_toolsevent()'''function. In [[xref>inc/template.php]] the function ''[[xref>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 [[template:dokuwiki|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 ===== The following templates trigger this hook. * [[template:Starter]] * [[template:DokuWiki]] ===== See also ===== * [[codesearch>TEMPLATE_SITETOOLS_DISPLAY|Code related to this event]] used in any DokuWiki's files, plugins and templates * [[devel:Action Plugins]] * [[devel:Events]] * Similar events: * [[TEMPLATE_PAGETOOLS_DISPLAY]] * [[TEMPLATE_USERTOOLS_DISPLAY]]