- Issue created by @elber
- First commit to issue fork.
- Status changed to RTBC
over 1 year ago 6:00pm 14 June 2023 - 🇧🇷Brazil lucienchalom
I ve run Project Upgrade Status → and everything looks good.
- 🇷🇺Russia DenisVS
Look at those modules, just problem to choose:
https://www.drupal.org/project/link_attributes →
allows users to set attributes on their link.
In addition the module alters the default _menu link content_ link field to use this widget, allowing menu links to have attributes toohttps://www.drupal.org/project/link_class →
new widget form for field type Link. This widget allows editor to add class to fields Link attached to their content.
- Set manually class (the initial behavior) on the edit form
- Choose class from a select list
- Force the class automatically added on the linkhttps://www.drupal.org/project/menu_item_extras →
extra fields for the Menu Items without using additional entities.https://www.drupal.org/project/menu_link_attributes →
attributes to your menu links or their wrapping `- ` elements.
https://www.drupal.org/project/menus_attribute →
specify some additional attributes for menu items such as id, name, class, style, and rel.
You should use this module when
You want to "nofollow" certain menu items to sculpt the flow of PageRank through your site
You want to give a menu item an ID so you can easily select it using jQuery
You want to add additional classes or styles to a menu item
The module currently allows you to set the following attributes for each menu item:Id
Name
Title
Target
Rel
Class
Style
Accesskey - ` elements.
- 🇬🇧United Kingdom niklp Nottingham
I've taken everything I can find from the two threads marked as D10, and combined them here https://www.drupal.org/project/menu_attributes/issues/3241545 ✨ D10 compatibility & fixes Active - use the "plain diff" from that thread
This combines existing D9/10 issues and a couple of other patches we had here locally that seemed pertinent