====== highlightparent Plugin ====== ---- plugin ---- description: Add “backto” links in the header of pages in subnamespaces of defined parent namespaces author : Michael Große email : dokuwiki@cosmocode.de type : action lastupdate : 2018-09-05 compatible : Greebo, Frusterick Manners, Elenor of Tsort depends : conflicts : similar : tags : namespace downloadurl: https://github.com/cosmocode/dokuwiki-plugin-highlightparent/zipball/master bugtracker : https://github.com/cosmocode/dokuwiki-plugin-highlightparent/issues sourcerepo : https://github.com/cosmocode/dokuwiki-plugin-highlightparent/ donationurl: screenshot_img : ---- [[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ https://www.cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]] ===== Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Configuration and Settings ===== Define the regex for the namespace you want to highlight. The pattern should capture the namespaces in the first match-group. You can match multiple namespaces. For example the regular expression ''%%((?:product|projects):[^:]+?:).+%%'' highlights the pages in the subnamespaces of both product and projects namespaces. If the pattern is empty, the the startpage of the current namespace is highlighted. If the user is on a startpage, then the startpage of the parent namespace is highlighted. ===== Development ===== ==== Changelog ==== {{rss>https://github.com/cosmocode/dokuwiki-plugin-highlightparent/commits/master.atom date author}} ==== Utilized DokuWiki Events ==== * [[devel:event:TPL_CONTENT_DISPLAY]]