wiki.allensmith.net

Personal "Rough Notes" & Useful Links

User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
kb:webdev:dokuwikihacks [2014/05/18 18:02]
Allen Smith created
kb:webdev:dokuwikihacks [2016/01/14 01:35] (current)
Line 1: Line 1:
 ====== DokuWiki Hacks ====== ====== DokuWiki Hacks ======
 +{{INLINETOC}}
 <note tip>When changes are made to core files for either DokuWiki or a Plugin, those changes will need to be redone each time DokuWiki or the Plugin is updated. That is why all of the below customizations should be considered "​Hacks"​.</​note>​ <note tip>When changes are made to core files for either DokuWiki or a Plugin, those changes will need to be redone each time DokuWiki or the Plugin is updated. That is why all of the below customizations should be considered "​Hacks"​.</​note>​
  
-**Change ​leading ​Breadcrumb trail text**\\  +===== Navigation Hacks ===== 
-  * The file to edit is → [root wiki directory]/​inc/​lang/​en/​lang.php\\  +==== Change ​Leading ​Breadcrumb ​Text ==== 
-     * I searched for "​youarehere"​ +**Dokuwiki has 2 types of breadcrumb style navigation.** The default is "​**trace**"​-- where the breadcrumb ​trail shows the pages a site visitor has gone to, in the order the pages are visited. (Tracking breadcrumbs.) The other option that can be selected is "**breadcrumb**"​-- where the breadcrumb shows the page location within the wiki. (Hierarchical breadcrumbs.) 
-     * Then I replace ​the text "You are here" with "Wiki Location"​+ 
 +Unfortunatly,​ the "You are here:" at the front of the hierarchical breadcrumbs is hard-coded into the core DokuWiki files. In addition, the colon (:) is not in the configuration file with the rest of the text. So the below can only change this leading text, and not remove it. 
 +  * The file to edit is → [root wiki directory]/​inc/​lang/​en/​lang.php 
 +     * I searched for "''​youarehere''​
 +     * Then I replaced ​the text "''​You are here''​" with the text "''​Wiki Location''​"