object.bg / menubundle
This bundle provides MenuProvider and edit them thru Sonata Admin
Installs: 1 051
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- gedmo/doctrine-extensions: ~2.4
- knplabs/knp-menu-bundle: ~2.0
- object.bg/translationbundle: ~2.0 || ~3.0
- sonata-project/admin-bundle: ~2.2 || ~3.0
- sonata-project/doctrine-orm-admin-bundle: ~2.2 || ~3.0
Suggests
- burgov/key-value-form-bundle: Allows you to add attributes to menu items
- sonata-project/doctrine-orm-admin-bundle: Allows you to edit menus thru Sonata Admin
README
This bundle use Gedmo Tree Bundle (for nesting menus), Sonata Admin to edit them, ObjectBGTranslationBundle to translate them and KeyValueFormBundle to add different attributes to links from admin panel.
https://github.com/Burgov/KeyValueFormBundle#working-with-sonataadminbundle
Usage:
{{ knp_menu_render('social_links') }}
Where 'social_links' is the key
property of MenuNode object. This will render all children of social_links record of database.