Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Example: a site has Menus as Blocks appearing in the sidebar. There are multiple such Blocks, each a separate Menu, to visually group the Menu Links into separate Blocks.
We want to replace this with Accordion Menu, but that module requires one source Menu. So, we need to go from this:
Menu I
- Menu Link 1
- Menu Link 2
- Menu Link 3
- ⋮
Menu II
- Menu Link A
- Menu Link B
- Menu Link C
- Menu Link D
- ⋮
⋮
To this:
One New Menu
- Group I
- Menu Link 1
- Menu Link 2
- Menu Link 3
- ⋮
- Group II
- Menu Link A
- Menu Link B
- Menu Link C
- Menu Link D
- ⋮
- ⋮
Can this Module do that? Easily? Because we have a lot more than just two Block Menus, each averaging considerably more than three–four Links.
Comments
Comment #1
asgorobets CreditAttribution: asgorobets commentedThis can be done with new functionality available very soon. We'll integrate menu_slice sandbox project which can do this kind of stuff.
I'll update this issue when done.
Comment #2
asgorobets CreditAttribution: asgorobets commentedHi Joel MMCC,
Please take a look at #1883412: Integrate Menu Slice into Menu Clone for more info.
Check out the latest dev version for this functionality.
Cheers.
Comment #3
Joel MMCC CreditAttribution: Joel MMCC commentedThanks much! We already finished the specific client project I needed it for some time ago (had to do it the hard way), but this may come in quite handy for future projects.
Comment #5
finedesign CreditAttribution: finedesign commentedCould we have a little more explanation on how to accomplish this request above? I have viewed the documentation/video at the sandbox, but I am still not able to achieve the exact same request above.
This is what I did after enabling the 7.x-1.x-dev (2013-Jan-09) module:
Click the "Menu Slice" tab
/admin/structure/menu/menu_slice
Click "Create new menu"
Name it "One New Menu"
For the children of the new cloned menu, I am not able to choose "Menu I" but rather "Menu Link 1" or "Menu Link A".
This is essentially adding EACH menu item to the cloned menu. It doesn't make sense.
I need to combine four different menus (including the top level) into one big menu.
Comment #5.0
finedesign CreditAttribution: finedesign commentedChanged A/B for initial Menus and final Groups to Roman numerals to help avoid confusion for future readers of this Issue.