Changes between Version 19 and Version 20 of TracTabPlugin


Ignore:
Timestamp:
Aug 4, 2009 6:36:15 AM (5 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracTabPlugin

    v19 v20  
    33== Description == 
    44 
    5 Adds a button to the main navigation bar and serves a page in the Trac template with an Iframe linking to the appropriate URL.  This will work for any number of URLs specified in the proper format. 
    6  
    7 The following trac.ini configuration will create 2 new tabs on the main navigation bar, one named ''Google'' and the other named ''My Blog'', with the respective URLs and permissions (e.g. Google requires WIKI_VIEW while !MyBlog requires TRAC_ADMIN). 
    8  
    9 {{{ 
    10 [components] 
    11 tractab.*=enabled 
    12  
    13 [tractab] 
    14 names=Google,My Blog 
    15 urls=http://www.google.com,http://blogs.acceleration.net/russ 
    16 perms=WIKI_VIEW,TRAC_ADMIN 
    17 }}} 
    18  
    19  * Note: The ''perms'' parameter is optional, but if left unspecified, it requires TRAC_ADMIN permissions to view the tabs. 
    20  * Note: The parameter lists are sensitive to whitespace.  No whitespace should exist between comma separated entries, although an entry can contain whitespace (e.g. ''My Blog''). 
     5Adds a button to the main navigation bar and serves a page in the Trac template within an Iframe linking to the appropriate URL.  This will work for any number of URLs specified in the proper format. 
    216 
    227See also: MenusPlugin, NavAddPlugin. 
     
    4833== Example == 
    4934 
    50 See the above example configuration. 
     35The following trac.ini configuration will create 2 new tabs on the main navigation bar, one named ''Google'' and the other named ''My Blog'', with the respective URLs and permissions (e.g. Google requires WIKI_VIEW while !MyBlog requires TRAC_ADMIN).  The handlers for these items will be `/tractab/Google` and `/tractab/My%20Blog`. 
     36 
     37{{{ 
     38[components] 
     39tractab.*=enabled 
     40 
     41[tractab] 
     42names=Google,My Blog 
     43urls=http://www.google.com,http://blogs.acceleration.net/russ 
     44perms=WIKI_VIEW,TRAC_ADMIN 
     45}}} 
     46 
     47 * Note: The ''perms'' parameter is optional, but if left unspecified, it requires TRAC_ADMIN permissions to view the tabs. 
     48 * Note: The parameter lists are sensitive to whitespace.  No whitespace should exist between comma separated entries, although an entry can contain whitespace (e.g. ''My Blog''). 
    5149 
    5250== Recent Changes ==