symbiote / silverstripe-treehugger
Add additional menus (such as footer, sidebars) programmatically that can be managed by CMS users nicely on the SiteConfig or Multisite view.
Installs: 2 473
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 3
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- silverstripe/cms: ^4.0
Requires (Dev)
- phpunit/phpunit: ^5.7
- squizlabs/php_codesniffer: ^3.0
Suggests
- silverstripe/silverstripe-siteconfig: Compatible with SiteConfig module.
- symbiote/silverstripe-gridfieldextensions: Install to sort menu order via SiteConfig or Multisites
- symbiote/silverstripe-multisites: Compatible with Multisites module.
Replaces
README
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