Releases: DarvinStudio/DarvinMenuBundle
Releases · DarvinStudio/DarvinMenuBundle
Extendable entities, new item extras
- menu item entities are now extendable;
- added new menu item extras: "objectName" and "objectId".
bug fixing
Remove blank ul tags if children are hidden or depth is limited
New breadcrumbs features
- Build options have been added into menu config. All options will be passed to builder setMenuAlias method.
- Now if "showChildren" is disabled for item, slug children will not be built into menu by default. Breadcrumbs will be generated by slug map for such children. This behavior can be replaced by setting build_hidden_slugmap_children parameter in build_options to True, in this case all children will be built into menu and will have breadcrumbs built with menu
for example
darvin_menu:
menus:
-
alias: main
breadcrumbs: true
build_options:
build_hidden_slugmap_children: true
-
alias: footer
-
Twig darvin_menu_slug_breadcrumbs() function has been added. it builds breadcrumbs only by slug map and doesn't try to find relevant menu.
-
Bug with build slag map breadcrumbs with local prefix into url has been fixed
6.2.0
Implement breadcrumbs menu builder.
6.1.9
Builder: fix children adding.
6.1.8
Validate content slug map in slug map item admin form type.
6.1.7
Remove redundant preserve menu in URL admin event listener (replaced …
fix showChildren logic
fix bug: showChildren field is ignored in menu builder
6.1.6
Implement migrate to version 6 command.
6.1.4
Implement migrate to version 6 command.