Changes between Version 1 and Version 2 of NavAddPlugin
- Timestamp:
- Jul 14, 2006, 5:40:13 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NavAddPlugin
v1 v2 3 3 == Description == 4 4 5 This plugin allows you to add custom items ( "buttons") to both the main and the meta navigation bar.5 This plugin allows you to add custom items ("buttons") to both the main and the meta navigation bar. Item name, title and URL can be specified in trac.ini, as well as an optional permission the user is required to have to see the item. 6 6 7 ''to be continued'' 7 The plugin was inspired by and derived from NavMoverPlugin. In contrast to NavMoverPlugin this plugin does not hide navigation bars, which was my main motivation for creating this "fork". 8 8 9 == Configuration == 10 11 All configuration settings are to be kept in a section called `[navadd]` in TracIni. The basic syntax is: 12 13 `add_items = <item>,<item>,...`:: comma-separated list of items that will be added; only items that are listed here will be processed. 14 15 And then for each item: 16 `<item>.title = <title>`:: the name (title) of the button 17 `<item>.url = <url>`:: the URL the button should link to; please note that TracLinks syntax is not supported here yet 18 `<item>.perm = <permission>`:: an optional permission that a user needs to have in order to see the button 19 `<item>.target = <navbar_name>':: the name of the navigation bar the button should be added to; only `mainnav` and `metanav` have been tested so far, others names probably work as well 9 20 10 21 == Bugs/Feature Requests ==