Version 7 (modified by 16 years ago) ( diff ) | ,
---|
This page documents the 1.4 (latest stable) release. Documentation for other releases can be found here.
Trac Navigation
Starting with Trac 0.11, it is now possible to customize the main and meta navigation entries in some basic ways.
The new [mainnav]
and [metanav]
configuration sections can now be used to customize the text and link used for the navigation items, or even to disable them.
[mainnav]
corresponds to the main tab line containing entries such as Wiki, Timeline, Roadmap, Browse Source and so on.
[metanav]
corresponds to the sequence of links that are by default positioned above the main navigation bar and below the Search box. It contains the Log in, Logout, Help/Guide etc. entries.
In the following example, we rename the link to the Wiki start "Home", and hide the "Help/Guide" link. We also make the "View Tickets" entry link to a specific report.
[mainnav] wiki.label = Home tickets.href = /report/24 [metanav] help = disabled
See also: TracInterfaceCustomization, the TracHacks:NavAddPlugin (still needed for adding entries)