|Version 1 (modified by tsooboi, 6 years ago) (diff)|
- Move navigation items between mainnav and metanav
- Hide navigation items, and
- Rename navigation items
Based on NavHiderPlugin. The components are left active, so you can still navigate to them directly (or from other links).
If you have any issues, create a new ticket.
Download the zipped source from here.
[components] navcontrol.* = enabled
To configure: To hide items you can list them under [navcontrol] section as follows:
[navcontrol] mainnav = search, newticket metanav = about
To move items you can list them under [navcontrol] section as follows:
[navcontrol] mainnav_to_metanav = tickets, wiki metanav_to_mainnav = help
To rename items you can list them under [navcontrol] section as follows:
[navcontrol] labels = browser:Code, tickets:Tickets
You can preface the item with - or ! in the normal sort-order list to hide and prefix with @ or ^ in the normal sort-order list to move:
[trac] mainnav = @wiki,timeline,roadmap,browser,^tickets,!newticket,-search metanav = login,logout,settings,^help,!about