dmDynamicMenuPlugin adds a dynamic menu widget to the "Add" menu.
Widget appears in "Navigation" section.
Work with widget is almost same as work with built-in Menu widget.
Dynamic menu will "unfold" your menu according to your page structure.
For example we have such kind nested structure of a pages:
home
page-1
page-1-1
page-1-2
page-1-3
page-2
page-2-1
page-2-2
... etc
All pages have a same layout.
Dynamic menu widget is dropped at the left sidebar and has items:
page-1
page-2
page-3
When we navigate to the 'page-1', widget dymically will be changed.
Menu of page-1 page has menu items of first level and unfolded second level
items, that are subpages of the current page-1:
page-1
page-1-1
page-1-2
page-1-3
page-2
page-3
For more information see documentation tab.
git clone git://github.com/cuhuak/dmDynamicMenuPlugin.git plugins/dmDynamicMenuPlugin
class ProjectConfiguration extends dmProjectConfiguration { public function setup() { parent::setup(); $this->enablePlugins(array( // your enabled plugins 'dmDynamicMenuPlugin' ));
php symfony dm:setup
Open the "Add" menu on the tool bar. Find the navigation/Dynamic Menu widget, drag&drop it in a zone.
Open the PAGES panel and drag and drop pages in the blank space of the dialog.
Customize each menu item if needed.
Customization of the Dynamic Menu widget is same. Only Depth option behaviour is changed.
Depth option consist of such options:
More information about cutomization menu widget you'll find in the documentation.
Open issues
Closed issues
dmDynamicMenuPlugin, created on June 1, 2010 by cuhuak, used by 140 projects