Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#6865 closed defect (fixed)

Removing links from config trac.ini : [trac]mainnav = xxx don't do much

Reported by: David Coll <david.coll.78@…> Owned by: Christian Boos
Priority: normal Milestone: 0.11
Component: general Version: 0.11b1
Severity: trivial Keywords: mainnav documentation
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hello, a word about configuration into trac.ini

[trac]
mainnav =

When I get ride of stuff, exemple by keeping only mainnav = wiki I still get my mainnav bar filled with everything set by default (wiki,timeline,roadmap,browser,tickets,newticket,search).

The only item that I can get to remove is the newticket link.

Thanks

Attachments (0)

Change History (4)

comment:1 by Emmanuel Blot, 16 years ago

Milestone: 0.12
Resolution: invalid
Status: newclosed

mainnav option is not for adding/removing components, only to order them (i.e. the order of appearance from left to right).

Use the [components] section to enable/disable the related feature. or alternatively the web interface from the "Admin" tab. Disabled components won't appear in the main navigation bar.

comment:2 by David Coll <david.coll.78@…>, 16 years ago

OK, thanks for clarifiing.. I was about to learn python to go find where that was coming from ;)

I've made a more clearer statement (I hope :x ) defining the mainnac in TracIni

Ancient definition : List of item IDs to display in the navigation bar

New definition : Order of the items to display in the navigation bar listed by IDs

comment:3 by Christian Boos, 16 years ago

Component: renderinggeneral
Keywords: documentation added
Milestone: 0.11
Resolution: invalid
Severity: minortrivial
Status: closedreopened

Thanks for the suggested change. Btw, those entries will eventually go, superseded by the [mainnav] and [metanav] sections, look at TracNavigation.

(see also ticket:6733#comment:1 - respect the order of entries in the trac.ini)

comment:4 by Christian Boos, 16 years ago

Resolution: fixed
Status: reopenedclosed

Done in r6591.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.