Changes between Version 3 and Version 4 of TracNavigation


Ignore:
Timestamp:
Sep 24, 2024, 8:57:42 AM (14 months ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracNavigation

    v3 v4  
    11= Trac Navigation
    22
    3 The main and meta navigation entries can be customized in some basic ways. The `[mainnav]` and `[metanav]` configuration sections can be used to customize the navigation item text and link, change the ordering of the navigation items, or even disable them.
     3The main and meta navigation entries can be customized in several ways. The `[mainnav]` and `[metanav]` configuration sections can be used to customize the navigation item text and link, change the ordering of the navigation items, disable them and add new ones.
     4
     5The primary attributes that can be customized are `href`, `label`, `order` and `permission`.
    46
    57=== `[mainnav]` #mainnav-bar
     
    79
    810
    9 ** [=#Example Example] ** 
     11** [=#Example Example] **
    1012
    1113In the following example we rename the link to WikiStart //Home//, and make the //View Tickets// entry link to a specific report.
     
    1618}}}
    1719
     20
     21
    1822=== `[metanav]` #metanav-bar
    1923`[metanav]` corresponds to the '''meta navigation bar''', by default positioned above the main navigation bar and below the ''Search'' box. It contains the ''Login'', ''Logout'', ''!Help/Guide'' etc. entries. This navigation bar is meant to access some global information about the Trac project and the current user.
    2024
    21 There is one special entry in the  `[metanav]` section: `logout.redirect` is the page the user sees after hitting the logout button. The ''!Help/Guide'' link is also hidden in the following example.
     25There is one special entry in the The ''!Help/Guide'' link is also hidden in the following example.
    2226[[comment(see also #Trac3808)]]
    2327
    24 ** Example ** 
     28** Example **
    2529
    2630{{{#!ini
     
    3034}}}
    3135
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
    3266
    3367=== URL Formats
     
    6397}}}
    6498
     99
     100
     101
     102
     103
    65104=== Context Navigation #ctxtnav-bar
    66105
    67 Note that it is still not possible to customize the '''contextual navigation bar''', ie the one usually placed below the main navigation bar.
     106Note that it is still not possible to customize the '''contextual navigation bar''', i the one usually placed below the main navigation bar.
    68107
    69108----
    70 See also: TracInterfaceCustomization, and the [http://trac-hacks.org/wiki/NavAddPlugin TracHacks:NavAddPlugin] or [http://trac-hacks.org/wiki/MenusPlugin TracHacks:MenusPlugin] (still needed for adding entries)
     109See also: TracInterfaceCustomization