Edgewall Software

Changes between Version 1 and Version 2 of TracDev/PluginDevelopment/ExtensionPoints/trac.web.chrome.INavigationContributor


Ignore:
Timestamp:
Jun 5, 2011, 4:37:57 PM (11 years ago)
Author:
Peter Suter
Comment:

Note on initial navigation item

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/PluginDevelopment/ExtensionPoints/trac.web.chrome.INavigationContributor

    v1 v2  
    9898     > context navigation (ctxtnav) usually needs much more logic than simply being added to a list, like the INavigationContributor does for mainnav and metanav. So the solution is now to use add_ctxnav
    9999     > to alter existing ctxtnavs use the ITemplateStreamFilter
    100  * Navigation items can also be configured in without a INavigationContributor:
    101    * The ''order'' of the items in the main and meta-navigation bars can be configured in the [wiki:TracIni#trac-section trac seciont of TracIni] using ''mainnav'' and ''metanav''.
     100 * Navigation items can also be configured without a INavigationContributor:
     101   * The ''order'' of the items in the main and meta-navigation bars can be configured in the [wiki:TracIni#trac-section trac section of TracIni] using ''mainnav'' and ''metanav''.
    102102   * Since 0.11 TracNavigation allows configuring, adding and disabling items entirely by configuration.
     103 * The initially selected (root) navigation item is selected by the request handler / navigation contributor configured in the [wiki:TracIni#trac-section trac section of trac.ini] using ''default_handler''.