SilverStripe Grouped CMS Menu
This module allows you to group CMS menu items into nested lists which expand when hovered over. This is useful when there are so many CMS menu items that screen space becomes an issue.
Previous versions are available through the appropriate branch.
In order to group CMS menu items together, define your menu groups in a
In the example below, CMSMain (Pages) and AssetAdmin (Files & Images) are grouped together under a "Content" heading.
LeftAndMain: menu_groups: Content: - CMSPagesController - AssetAdmin
Each grouped menu will be ordered by the way you configure your YML. If you do not add an item to a grouping, they will appear at the bottom of the menu. You may also choose to "group" items by themselves to make sure that they are ordered correctly in your menu.
LeftAndMain: menu_groups: CMSPagesController:  CMSSettingsController:  Other: - ReportAdmin - AssetAdmin
Translating group labels
A group label may be translated by providing a translation key as below (using the 'Other' group from above as an example)
langcode: GroupedCmsMenuLabel: Other: 'translated text'
If the group label has spaces, these will be converted to underscores for the key
langcode: GroupedCmsMenuLabel: Other_Label: 'translated text'
- Marcus Nyeholt (email@example.com)
- SilverStripe 3.0+