Version 8 (modified by Norbert.Klamann@…, 9 years ago) (diff)

Broken link

Integrate ShowPath into Trac


Integrates the functionality provided by the 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

Existing bugs and feature requests for TracShowPathPatch are here.

If you have any issues, create a new ticket.


TracShowPathPatch for 0.8.


You can check out the source for TracShowPathPatch from Subversion at


cd path/to/trac/src/trac-0.8.4
patch -p1 < trac-showpath.diff
python install

For 0.94


Author: mhuysamen



I added this hack to the trac 0.10 dev trunk using the 0.94 patch and added a css class. Works great!
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.
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 here link broken

Thanks !!