Version 11 (modified by 15 years ago) (diff) | ,
---|
MenusPlugin
Notice: This plugin is unmaintained and available for adoption.
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 here.
If you have any issues, create a new ticket.
Download, Source
Download the [download:menusplugin zipped source], check out MenusPlugin from using Subversion, or 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 is a reserved keyword: # - if present, all other items not specified in config section will appear as sub-items under unassigned item. # - if not present, all other items will appear as top items. unassigned.href=/wiki unassigned.label=Tools ...
Screenshots
Recent Changes
- 17580 by rjollos on 2019-11-21 18:23:37
-
TracMenus 0.4.0dev: Bump version after release
Published to pypi:TracMenus.
Fixes #13661.
- 17579 by rjollos on 2019-11-21 18:20:53
-
TracMenus 0.3.0dev: Change name for publishing to PyPI
Refs #13661.
- 17578 by rjollos on 2019-11-21 18:14:13
-
TracMenusPlugin 0.3.0dev: Add
classifiers
metadata
Refs #13661.
(more)
Author/Contributors
Author: cbalan
Contributors:
Attachments (1)
- menusplugin.png (71.6 KB) - added by 15 years ago.
Download all attachments as: .zip