Modify

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#4892 closed defect (fixed)

Update demo config example

Reported by: rjollos Owned by: cbalan
Priority: low Component: MenusPlugin
Severity: trivial Keywords:
Cc: Trac Release: 0.11

Description

The Demo is very nice, however it appears that the Example trac.ini on the wiki page does not generate what appears on the Demo site (perhaps the example is out of date with the site?). It would be much easier to see how things are done if the example code was updated to show exactly what is used on the OForge site.

I couldn't see how to contact the author directly, so I opened this ticket. Thanks.

Great plug-in!

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by cbalan

  • Resolution set to fixed
  • Status changed from new to closed

Hey rjollos,

Here is what we have on the oforge site:

[mainnav]
tags = disabled
search = disabled
timeline = disabled

home = enabled
home.href = /
home.label = Home
home.parent = top
home.order = 10

wiki.label = Wiki
wiki.order = 20

wiki_newpage = enabled
wiki_newpage.href = /newwikipage
wiki_newpage.parent = wiki
wiki_newpage.label = New Wiki Page
wiki_newpage.order = 1

wiki_titleindex = enabled
wiki_titleindex.href = /wiki/TitleIndex
wiki_titleindex.label = Wiki Index
wiki_titleindex.parent = wiki
wiki_titleindex.order = 2

wiki_timeline = enabled
wiki_timeline.href = /timeline?wiki=on
wiki_timeline.label = Recent Changes
wiki_timeline.parent = wiki
wiki_timeline.order = 3

ticketgrp = enabled
ticketgrp.href = /report
ticketgrp.label = Tickets
ticketgrp.order = 30
ticketgrp.parent = top

tickets.parent = ticketgrp
tickets.order = 1
tickets.label = View Reports

query = enabled
query.href = /query
query.label = Custom Query
query.parent = ticketgrp
query.order = 2

newticket.parent = ticketgrp
newticket.order = 3

ticket_defect = enabled
ticket_defect.href = /newticket?type=defect
ticket_defect.parent = newticket
ticket_defect.label = New Defect
ticket_defect.order = 1

ticket_enhancement = enabled
ticket_enhancement.href = /newticket?type=enhancement
ticket_enhancement.parent = newticket
ticket_enhancement.label = New Enhancement
ticket_enhancement.order = 2

ticket_task = enabled
ticket_task.href = /newticket?type=task
ticket_task.parent = newticket
ticket_task.label = New Task
ticket_task.order = 3

ticket_timeline = enabled
ticket_timeline.href = /timeline?ticket=on
ticket_timeline.label = Recent Changes
ticket_timeline.parent = ticketgrp
ticket_timeline.order = 4

browsergrp = enabled
browsergrp.parent = top
browsergrp.href = /browser
browsergrp.label = Code
browsergrp.order = 40

browser.label = Browse Repository
browser.parent = browsergrp
browser.order = 10

browser_log = enabled
browser_log.label = Revision Log
browser_log.href = /log
browser_log.parent = browsergrp
browser_log.order = 20

browser_timeline = enabled
browser_timeline.label = Recent Changes
browser_timeline.href = /timeline?changeset=on
browser_timeline.parent = browsergrp
browser_timeline.order = 30

status.order = 50

tools = enabled
tools.href = #
tools.label = Team Tools
tools.order = 60
tools.parent = top
tools.hide_if_no_children = true

# tools
alfresco.parent = tools
continuum.parent = tools
irclogs.parent = tools
mailarchives.parent = tools
pastebin.parent = tools
roadmap.parent = status

comment:2 Changed 5 years ago by rjollos

Is it true that this plug-in can also be used to replace the metanav items with menus? If so, do you know of a public example site or have a screen capture demonstrating this?

I work with a hosting provider and haven't set up a local instance of Trac yet, so its not easy for me to edit trac.ini and just check these things out for myself. Thanks!

comment:3 Changed 5 years ago by rjollos

Btw, I edit the wiki page to include the example you posted here, because I thought it would be helpful to others. Hope that is okay!

Add Comment

Modify Ticket

Action
as closed The owner will remain cbalan.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.