TreeHugger (Sortable Menus)
Add additional menus (such as footer, sidebars) programmatically that can be managed by CMS users nicely on the SiteConfig or Multisite view.
Composer Install
composer require symbiote/silverstripe-treehugger:~3.0
Features
- Page CMS editing, Adds a checkbox to the "Settings" tab for each defined menu kind.
- Allow re-ordering of pages for each menu kind (independent of the ordering in the site tree)
- Requires GridField Extensions.
- Easy to drop-in and use with partial caching.
- Partial caching is recommended to improve page-load times when you have thousands of pages.
Requirements
- SilverStripe 4.0+
- (Optional) SiteConfig
- (Optional) Multisites
- (Optional) GridField Extensions 2.X or 3.X
NOTE: To manage menus at the top-level of the site, you must have either SiteConfig or Multisites installed. If you want the ability to sort the menu, you need to install GridField Extensions.
Documentation
Credits
- Jake Bentvelzen for the initial build