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.
All you'd need to do is have another field on the editing screen for the class of the link really.
See Modal Forms.
Comments
Comment #1
bkoether CreditAttribution: bkoether commentedGreat idea,
I will get on that!
Comment #2
bkoether CreditAttribution: bkoether commentedI checked the Modal Forms module and it actually is quite limited right now in terms of which forms it supports.
However, it gave me the idea of other things that can be achieved by allowing to add classes to the links.
So in the latest dev version you can now add CSS class names to the links as well as query strings.
That will enable users for example in connection with the Colorbox module to create overlay links. Another use case would be to pass arguments along to a webform.
Hope this new functionality will help you.