I had the requirement to associate a target attribute with a particular primary menu link. It looked like the menu_attributes module was just what I needed. However, theme.inc only copies over the title attribute, ignoring all others. This conflicts with the menu_attributes module making it ineffective.

CommentFileSizeAuthor
#1 use-all-attributes-1360424-1.patch797 bytesDavid4514
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

David4514’s picture

The attached patch to theme.inc will include all attributes when using Marinelli's megamenu. I'm not sure if there is some danger to this, but it seems to be working for me. I am currently using the title (already present), target, and class attributes.