wiki:NavigationDisplayPlugin

Version 10 (modified by figaro, 9 years ago) (diff)

Cosmetic changes, tagged with license

Display 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 the user preferences page, see also Trac-Ticket 10543.

Screenshot for option fixed_menu

Sample for option `fixed_menu`

Screenshot for option buttom_ctx_menu

Sample for option `buttom_ctx_menu`

Preference Panel

The display types can be set by each user differently through the Preferences panel:

Sample screenshot of user preferences page

Bugs/Feature Requests

Existing bugs and feature requests for NavigationDisplayPlugin are here.

If you have any issues, create a new ticket.

defect

1 / 2

Download

Download the [download:navigationdisplayplugin 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:

[trac]
display_nav = fixed_menu

If you do not specify it, this plugin has no effect.

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

16532 by rjollos on 2017-04-16 02:24:34
Fix indentation
16398 by rjollos on 2017-03-25 09:48:50
Remove dist directories
16394 by rjollos on 2017-03-25 09:20:58
Remove eggs
(more)

Author/Contributors

Author: framay
Maintainer: Franz
Contributors:

Attachments (4)

Download all attachments as: .zip