Changes between Version 23 and Version 24 of NavAddPlugin


Ignore:
Timestamp:
Jan 8, 2014 5:40:36 PM (8 months ago)
Author:
rjollos
Comment:

Refs #11443.

Legend:

Unmodified
Added
Removed
Modified
  • NavAddPlugin

    v23 v24  
    99== Description == 
    1010 
    11 Starting with release 0.11, Trac allows existing items in the main and meta navigation bar menu items to be [http://trac.edgewall.org/wiki/TracInterfaceCustomization#CustomNavigationEntries customized], however it does not allow custom items to be added.  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. 
     11Starting with release 0.11, Trac allows existing items in the main and meta navigation bar menu items to be [TracInterfaceCustomization#CustomNavigationEntries customized], however it does not allow custom items to be added.  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. 
    1212 
    1313The 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". 
    14  
    15 Note: The 0.9 branch of this plugin works without modification for 0.10, 0.11 and 0.12. 
    1614 
    1715See also: MenusPlugin, TracTabPlugin. 
     
    4644add_items = imprint,download 
    4745imprint.title = Impressum/Imprint 
    48 imprint.url = /wiki/Impressum 
     46imprint.url = wiki/Impressum 
    4947#imprint.perm = WIKI_VIEW 
    5048imprint.target = metanav 
     
    5452download.target = mainnav 
    5553}}} 
     54 
     55The formats for the `url` parameter are the same as for the `href` parameter described at TracNavigation#Notes. 
    5656 
    5757== Ordering of buttons == 
     
    6565{{{#!ini 
    6666[trac] 
    67 ... 
    6867mainnav = wiki,download,timeline,roadmap,browser,tickets,newticket 
    69 ... 
    7068}}} 
    7169