Contents
Adds user option for displaying navigation menu as fixed menu or other navigation options
Description
Normally, when you scroll a Trac page, the main menu and other navigation controls may scroll out of the visible area. This plugin enables a more elegant way: Either let the main menu stay fixed on top of the window or add bottom controls of context navigation.
Type of displaying menu, see screenshot of PreferencePanel. Possible types are:
- normal (default): No integration - leaves menu as in Trac standard
- fixed_menu: fixes menu on top of browser window,
- buttom_ctx_menu: adds context menu at bottom of page, if available
This plugin somehow implements Trac-Ticket 8135.
Furthermore mainnav entries are customizable through user preference page, see also Trac-Ticket 10543.
Sample screenshot for option fixed_menu
Sample screenshot for option buttom_ctx_menu
Preference Panel
The display types can be setted by each user differently through the preference panel:
Bugs/Feature Requests
Existing bugs and feature requests for NavigationDisplayPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source or pre-compiled egg (py2.6).
Source
You can check out NavigationDisplayPlugin from here using Subversion, or browse the source with Trac.
Example
You can set system default value in trac.ini as following (if you do not specify it, this plugin has no effect):
[trac] display_nav = fixed_menu
Possible values for option display_navare:
- normal (default): No integration - leaves menu as in Trac standard
- fixed_menu: fixes menu on top of browser window,
- buttom_ctx_menu: adds context menu at buttom of page, if available
Recent Changes
[12594] by framay on 02/06/13 15:53:44
added missing translations in message.pot and navigationplugin.po
[12568] by aleuhe on 01/25/13 13:20:50
Fixed some bugs in display, such as: - Pagepath was not visible - some items in banner, mainnav were a bit displaced - notices were not visible
[11239] by framay on 02/03/12 12:54:49
changed selection of display_nav in radio buttons instead of select box, thus the description is clearer; added possibility of adding report (or report list or query) for menu "View Tickets"
[11190] by framay on 01/25/12 14:28:42
added user preference for customizable wiki link
Author/Contributors
Attachments
- buttom_ctx_menu_sample.png (41.5 kB) -
Sample for option buttom_ctx_menu
, added by framay on 01/19/12 16:24:38. - fixed_menu_sample.png (68.9 kB) -
Sample for option fixed_menu
, added by framay on 01/19/12 16:25:18. - prefs_display_sample2.png (15.7 kB) -
Sample screenshot of user preferences page
, added by framay on 01/25/12 14:42:13. - prefs_display_sample.png (20.5 kB) -
Sample screenshot of user preferences page
, added by framay on 03/08/12 08:17:24.




