- π©πͺGermany Anybody Porta Westfalica
Same question for https://www.drupal.org/project/menu_link_attributes β
I think we should really combine all of them to have one powerful module (or with submodules) and active maintainers instead of conflicting multiple modules with different / overlapping functionality!
Any maintainer opinion?
- πΊπΈUnited States themodularlab
As one of the maintainers, I would also be in favor of this.
- π©πͺGermany Anybody Porta Westfalica
@themodularlab thank you for your quick feedback! In the meantime, could you perhaps add these alternatives to the module page?
sth. like:
<h2>Similar modules:</h2> <ul> <li>https://www.drupal.org/project/link_attributes</li> <li>https://www.drupal.org/project/menu_link_attributes</li> </ul>
The both modules should do it vice-versa until they're all merged!
- π©πͺGermany Anybody Porta Westfalica
Plan:
This should be replaced by a combination of
Menu Link Attributes β
Link Attributes βMenu Link Attributes should require Link Attributes and add additiona properties for the wrapping
<ul>
and<li>
in menu items.Best would be to also have an update hook to move over all the values. But to be clear here: I never used this module, so I won't do that part for this module.
- π©πͺGermany Anybody Porta Westfalica
As we've been running into these issues again and again in the last 3 years and due to the maintainers inactivity here, we decided to create a solution ourselves.
It's based on:
https://www.drupal.org/project/menu_item_attributes β for the menu item (<li>
) attributes, eventually we'll extend this to the menu (<ul>
) if possible
https://www.drupal.org/project/link_attributes β for the menu link (<a href>
) attributes and link fieldsand replaces
- https://www.drupal.org/project/menus_attribute β
- https://www.drupal.org/project/menu_link_attributes β
which are both great modules but conflict with https://www.drupal.org/project/link_attributes β which we need for link fields.
So finally we should have a solution for this old issue in some days...
I'll leave this issue open if anyone should run into the same issues or the maintainers decide to deprecate menus_attribute in favor of the mentioned combination.