Download the PHP package the-cocktail/sulu-megamenu-bundle without Composer
On this page you can find all versions of the php package the-cocktail/sulu-megamenu-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download the-cocktail/sulu-megamenu-bundle
More information about the-cocktail/sulu-megamenu-bundle
Files in the-cocktail/sulu-megamenu-bundle
Package sulu-megamenu-bundle
Short Description Bundle for managing Mega Menus in the Sulu content management system
License MIT
Homepage https://the-cocktail.com
Informations about the package sulu-megamenu-bundle
Sulu Megamenu Bundle
Create complex tree menus in Sulu with sections, image items, external url, custom url, etc..
Installation
Add SuluMegamenuBundle in your composer.json:
Register the bundle
Register the bundle in your config/bundles.php
:
Update your data with:
Or execute the following SQL: (recomended: use doctrine migrations to generate diff migration)
Configure the routing
Configure SuluMegamenu
Add config/packages/sulu_megamenu.yaml
with your desired menus:
Permissions
Make sure you've set the correct permissions in the Sulu backend for this bundle!
Settings > User Roles
Twig Functions
sulu_megamenu_render
This function will render the default template
Custom template as argument
Additional parameters
sulu_megamenu_get
Get items to reuse in diferent context
Additional parameters:
Enjoy it!
All versions of sulu-megamenu-bundle with dependencies
doctrine/doctrine-bundle Version ^1.0 || ^2.0
sulu/sulu Version ^2.1
symfony/config Version ^4.3 || ^5.0
symfony/dependency-injection Version ^4.3 || ^5.0
symfony/http-foundation Version ^4.3 || ^5.0
symfony/http-kernel Version ^4.3 || ^5.0
twig/twig Version ^2.0 || ^3.0