Changes between Version 33 and Version 34 of NavAddPlugin
- Timestamp:
- Apr 9, 2017, 12:16:09 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NavAddPlugin
v33 v34 74 74 == Ordering of buttons 75 75 76 Buttons which are added with this plugin can be ordered in the usual way, ie by specifying the actual order in section `[trac]`, keywords `mainnav` and `metanav` in TracIni. 76 Buttons which are added with this plugin can be ordered in the usual way, ie by specifying the actual order in section `[trac]`, keywords `mainnav` and `metanav` in TracIni. See TracNavigation#nav-order. 77 77 78 Let's assume that you add a button `Download` to your main navigation bar (same as in the configuration example above), and you want it to appear right after the `Wiki` button. The configuration then looks like :78 Let's assume that you add a button `Download` to your main navigation bar (same as in the configuration example above), and you want it to appear right after the `Wiki` button. The configuration then looks like (Trac < 1.2): 79 79 80 80 {{{#!ini … … 82 82 mainnav = wiki,download,timeline,roadmap,browser,tickets,newticket 83 83 }}} 84 85 For Trac >= 1.2, the same configuration is: 86 {{{#!ini 87 [mainnav] 88 wiki = 1 89 download = 2 90 timeline = 3 91 roadmap = 4 92 browser = 5 93 tickets = 6 94 newticket = 7 95 }}} 96 84 97 85 98 == Recent Changes