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.
The output function megamenu_theme_menu_tree should be a theme function to allow for custom overrides in a theme. This appears to be solved in the 6.x branch but not in the 7.x from https://www.drupal.org/node/954936. I'll attach a patch file shortly.
Comments
Comment #2
gleroux02 CreditAttribution: gleroux02 commentedComment #3
gleroux02 CreditAttribution: gleroux02 commentedActually let's go with this patch file instead.
Comment #4
ram4nd CreditAttribution: ram4nd at Wunder commentedComment #5
martini9011 CreditAttribution: martini9011 commentedThanks for the patches! Unfortunately I'm guessing the code got updated since the patch in both #1 and #2 are no longer working (non-matching line numbers).
I've taken your diff and applied it to the most recent 1.x dev version.
Let me know if everything works for you!