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.
In a site I have to set up a DHTML menu in the front page (dhtml is mandatory), and the same menu as a menublock in inner pages, DHTML is unacceptable there. So far I have manually duplicated the menu, (two menus with the same content) which is a solution as far as they don't want to add nodes to the menu.
Maybe you can help me to disable DHTML for the block only, maybe overriding with hook_menu_something?. Thanks.
Comments
Comment #1
moskito CreditAttribution: moskito commentedActually, "Expand all children of this tree" will not work if the menu has DHMTL menu enabled and "Static Navigation" is set to "None".
I think something like disable DHTML menu for block only should go as an option in advanced options. Plus a note in documentation could fix that bug.
Comment #2
Dave ReidThere are no DHTML options in Menu Block, I'm not sure what you're referring to.