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.
In order to group CMS menu items together, the GroupedCmsMenu::group()
function
is used. The grouping code should normally go in mysite/_config.php
. In the
example below, CMSMain (Pages) and AssetAdmin (Files & Images) are grouped
together under a "Content" heading:
GroupedCmsMenu::group('Content', array('CMSMain', 'AssetAdmin'));
- Andrew Short ([email protected])
- SilverStripe 3.1+