Changes between Version 39 and Version 40 of MenusPlugin
- Timestamp:
- Dec 11, 2015, 1:15:41 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MenusPlugin
v39 v40 27 27 == Download 28 28 29 Download the zipped source from [export:menusplugin here] 29 Download the zipped source from [export:menusplugin here]. 30 30 31 31 == Source 32 32 33 Check out MenusPlugin [/svn/menusplugin from here using Subversion], or [source:menusplugin browse the source] with Trac.33 Check out MenusPlugin from [/svn/menusplugin here] using Subversion, or [source:menusplugin browse the source] with Trac. 34 34 35 35 == Installation … … 39 39 1. Add '''tracmenus.* = enabled''' to the `[components]` section of `trac.ini` or enable via !WebAdmin. 40 40 1. Restart the Trac server. 41 1. Proceed to the [#Configuration Configuration] section.41 1. Configure as needed, see below. 42 42 43 43 == Configuration 44 44 45 As usual, configuration takes place in the `trac.ini` file. Most interesting things first - they are to be found in the `[mainnav]` section: Here you set up your menu items. Syntax is: `<item_name>.<property> = <value>` - where `<item_name>` is either the already existing handler (e.g. "wiki" for the wiki item, "tickets" for the tickets, "newticket" for the "New Ticket" item and so on) - or a term which ''must not exist'' for a brand new item to be introduced (as the "Team Tools" in the [#Example Examples] section). A special case is `top` to make a new item appearing ontop level.45 As usual, configuration takes place in the `trac.ini` file. Most interesting things first - they are to be found in the `[mainnav]` section: Here you set up your menu items. Syntax is: `<item_name>.<property> = <value>` - where `<item_name>` is either the already existing handler (e.g. "wiki" for the wiki item, "tickets" for the tickets, "newticket" for the "New Ticket" item and so on) - or a term which ''must not exist'' for a new item to be introduced (as the "Team Tools" in the [#Example Examples] section). A special case is `top` to make a new item appearing on the top level. 46 46 47 47 === Defining menus in the `[mainnav]` and `[metanav]` sections … … 61 61 === Menu options 62 62 63 - '''inherit''': Useful when a menu should receive items from another menu 63 - '''inherit''': Useful when a menu should receive items from another menu: 64 64 {{{#!ini 65 65 # dummy example - add mainnav items to context menu. … … 199 199 == Screenshots 200 200 201 The menu item '''Tickets''' on the Navigation bar has been extended with drop -down functionality:201 The menu item '''Tickets''' on the Navigation bar has been extended with dropdown functionality: 202 202 203 203 [[Image(menusplugin.png, width=500)]]