Changes between Version 33 and Version 34 of NavAddPlugin


Ignore:
Timestamp:
Apr 9, 2017, 12:16:09 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

Document configuration changes in Trac 1.2.

Legend:

Unmodified
Added
Removed
Modified
  • NavAddPlugin

    v33 v34  
    7474== Ordering of buttons
    7575
    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.
     76Buttons 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.
    7777
    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:
     78Let'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):
    7979
    8080{{{#!ini
     
    8282mainnav = wiki,download,timeline,roadmap,browser,tickets,newticket
    8383}}}
     84
     85For Trac >= 1.2, the same configuration is:
     86{{{#!ini
     87[mainnav]
     88wiki = 1
     89download = 2
     90timeline = 3
     91roadmap = 4
     92browser = 5
     93tickets = 6
     94newticket = 7
     95}}}
     96
    8497
    8598== Recent Changes