= Integrate !ShowPath into Trac = == Description == Integrates the functionality provided by the [http://projects.edgewall.com/trac/wiki/MacroBazaar#ShowPath ShowPathMacro] into Trac. The path to the current wiki page is added to the __Start Page__ link in the Wiki !NavBar. All the parts of the path to the current page will be linked except for the current, allowing you to see the !WikiPage you are on and moving up in a hierarchical !WikiPage. If TracHacks used this patch the __Start Page__ link in the !NavBar would look like this: __Start Page__ / !TracShowPathPatch If we had a hierachical page like Book/Chapter/Section/Subsection it would look like this: __Start Page__ / __Book__ / __Chapter__ / __Section__ / Subsection == Bugs/Feature Requests == [http://www.termpapers-guide.com/ term paper writing service] | [http://www.termpapers-guide.com/ term paper guide] Existing bugs and feature requests for TracShowPathPatch are [report:9?COMPONENT=TracShowPathPatch here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TracShowPathPatch&owner=mhuysamen new ticket]. == Download == [source:tracshowpathpatch/0.8 TracShowPathPatch for 0.8]. == Source == You can check out the source for TracShowPathPatch from Subversion at http://trac-hacks.org/svn/tracshowpathpatch. == Example == {{{ cd path/to/trac/src/trac-0.8.4 patch -p1 < trac-showpath.diff python setup.py install }}} == For 0.94 == http://projects.edgewall.com/trac/ticket/2780 == Author/Contributors == '''Author:''' [wiki:mhuysamen mhuysamen] [[BR]] '''Contributors:''' [[TagIt(patch,mhuysamen,0.8,0.10,sgrayban)]] == Comments == I added this hack to the trac 0.10 dev trunk using the 0.94 patch and added a css class. Works great! [[BR]] The patch for the 0.94 version is a bit out of line whack so I edited the file by hand and deleted the pyc file and restart tracd. [[BR]] My css code is below that I added to my project/templates/site_css.cs file. {{{ div.wikinav { position: absolute; top: 190px; left: 10px; color: #ccc; text-transform: lowercase; letter-spacing: 0.5em; display: block; } }}} You can see it in action [http://dev-1.borgforge.net/trac/castpodder here] '''link broken ''' Thanks !! [[BR]] sgrayban The ticket http://trac.edgewall.org/ticket/2780#comment:17 now has instructions for 0.10.4