Version 5 (modified by sgrayban, 10 years ago) (diff)

this works in the current dev trac 0.10 using the 0.94 patch

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!
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

Thanks !!