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.
I would be happy to know if i can use this module as a nice_menu style
Comments
Comment #1
sunSorry, that's out of the scope for this module. Menu Block just provides partial menu trees only.
Comment #2
avior CreditAttribution: avior commentedHi
Thanks for the quick response
I want a partial menu tree , but show it in a drop down style
I am not sure 100% , but i think that changing the top ul class to "nice_menu" will do most of the work
i will try to look it deeper in nice_menu ,
can i call the block to get the current partial menu output ?
Comment #3
avior CreditAttribution: avior commentedHi
I have looked at nice menu , The only thing needed is to add the UL : class="nice-menu"
My Question is can i use this module to have the partial menu tree , i mean can i know what is the parent menu id.
Once i have it i can style it the way i want , in my case i can call theme_nice_menu_tree() or theme_nice_menu() to render it as dropdown
My goal is to have a code like that placed inside a block to it will render the partial menu as dropdown
Comment #4
apprayo CreditAttribution: apprayo commentedHi avior,
I have same need as yours. I need to make the partial menu as dropdown, like what Nice Menu module provide.
Adding class="nice-menu" only makes the top level menu items shown like another Nice Menus, but the children of those top level menu items are not shown.
Have you been able to do it? How did you do it finally?
Thanks in advance,
Albert
Comment #5
apprayo CreditAttribution: apprayo commentedHi again,
I'm finally able to make it. Adding class "nice-menu" is half right way. We should also make the created menu block to expand all submenus.
Albert
Comment #6
avior CreditAttribution: avior commentedI did not managed to do it.
At the end i have splited the menu into few menu and based it on a path