= MenusPlugin = == Description == - add items to navigation menus - hierachical organization(using Superfish - http://users.tpg.com.au/j_birch/plugins/superfish/ ) PS: - CSS work might be needed to fit your trac theme. == Demo == See it in action: http://code.optaros.com/trac/oforge/ == Bugs/Feature Requests == Existing bugs and feature requests for MenusPlugin are [query:component=MenusPlugin&order=priority here]. If you have any issues, create a [/newticket?component=MenusPlugin&owner=cbalan new ticket]. == Download, Source == Download the [download:menusplugin zipped source], check out MenusPlugin from [/svn/menusplugin using Subversion], or [source:menusplugin browse the source] with Trac. == Example == Demo config: {{{ ... [components] tracmenus.* = enabled [mainnav] # Create a new top-level element for "Team Tools" teamtools.parent = top teamtools.label = Team Tools # Do not display this menu if it has no children (e.g. visitor has no permission to any) teamtools.hide_if_no_children = 1 # Now add the discussion plugin here discussion.parent = teamtools # Hide it if it's not available discussion.hide_if_disabled = 1 # Add the worklog here as well worklog.parent = teamtools worklog.hide_if_disabled = 1 # Add more things... #... # rename "Browse Source" to "Code" browser.label = Code # Add some entry points to the code browser code_trunk.parent=browser code_trunk.href=/browser/trunk code_trunk.label=Trunk # this is no component - so to hide it if not available, we need a trick code_trunk.perm = BROWSER_VIEW # Add some reports to the ticket item special_report.parent=tickets special_report.href=/report/7 special_report.label=My Tickets # same trick as above required here special_report.perm=REPORT_VIEW # Some more things wiki.parent=top browser.parent=top unassigned.href=/wiki unassigned.label=Tools ... }}} == Screenshots == [[Image(menusplugin.png, width=500)]] == Recent Changes == [[ChangeLog(menusplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:cbalan] [[BR]] '''Contributors:'''