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.
Hello,
In short, the mytheme_menu_item_link override works, the mytheme_menu_item_link__menu_block__1 does not.
I tried both 6.x-2.x-dev and 6.x-2.3, and I'm clearing my cache between tries. Trying to find the bug I created a new menu_block with all the default options, but that didn't work either.
Any help would be appreciated.
Thanks,
Simon
Comments
Comment #1
JohnAlbinI just tested this by implementing this function in mytheme's template.php:
After clearing the cache, it worked exactly like its supposed to.