Hello everyone,

I'm trying to customize my main navigation menu.

First, adding more menu items doesn't seem possible without a plugin
at the moment:
http://trac.edgewall.org/wiki/TracInterfaceCustomization#CustomNavigationEntries

which is in itself perhaps an issue that Bloodhound might want to
improve over Trac.

Using the NavAdd plugin (http://trac-hacks.org/wiki/NavAddPlugin), I
added more items to my main nav as such:

[navadd]
add_items = newbug,newtouchup
newbug.title = New Bug
newbug.url = /nearwoo/newticket?type=bug
newtouchup.title = New Touchup
newtouchup.url = /nearwoo/newticket?type=touchup

[trac]
mainnav = newbug,newtask,tickets,search,admin

but the order of the new entries is ignored and the extra entries
(newbug, newtouchup) are pushed into a dropdown menu labeled "more"
top the right of tickets.

To give the admin a little more control over the elements on mainnav,
it seems like exposing mainnav in trac.ini would be a reasonable thing
to do.

Best,
-- Alice

Reply via email to