Download the PHP package wedevelopnl/silverstripe-menustructure without Composer
On this page you can find all versions of the php package wedevelopnl/silverstripe-menustructure. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wedevelopnl/silverstripe-menustructure
More information about wedevelopnl/silverstripe-menustructure
Files in wedevelopnl/silverstripe-menustructure
Package silverstripe-menustructure
Short Description Silverstripe module to create nested menus
License
Informations about the package silverstripe-menustructure
SilverStripe Menustructure
A SilverStripe CMS module for editor-managed multi-menu navigation — define multiple named menus in the CMS, nest them arbitrarily deep, and render them in templates by slug.
Requirements
- PHP ^8.3
- silverstripe/framework ^6.0, silverstripe/cms ^6.0, silverstripe/admin ^3.0
- unclecheese/display-logic ^4.0, symbiote/silverstripe-gridfieldextensions ^5.0
Installation
Then run dev/build?flush=1 to pick up the new database schema.
Usage
Create a menu in the CMS under Menus, give it a slug, and render it in any template:
That uses the bundled Menu.ss template. To render with your own markup:
See Template integration for the full rendering contract — link types, active-link styling, nesting, and the bundled markup.
Documentation
Usage guides
- Template integration —
$MenustructureMenu/$ViewableMenustructureMenuhelpers, custom templates, link types, active-link styling - Configuration —
protected_menus,enable_query_string,enable_page_anchor, permission codes
Architecture
- Data model —
Menu/MenuItem/LinkTypeenum, cascade behaviour, extension hooks
Contributing
- Contributing guide — dev environment, test/coverage/QA commands, pull-request conventions
Changelog
See CHANGELOG.md for release history.
License
See LICENSE.
Maintainers
All versions of silverstripe-menustructure with dependencies
silverstripe/admin Version ^3.0
silverstripe/cms Version ^6.0
silverstripe/framework Version ^6.0
symbiote/silverstripe-gridfieldextensions Version ^5.0
unclecheese/display-logic Version ^4.0