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.
I'm a bit new to module surgery. How much would be involved in adding a title attribute to the output link tag?
i.e.
<a title="someTitle" target="someTarget" class="someClass" href="URL">linkText</a>
target, class, URL and linkText all exist already. The title attribute would need to be added.
It's probably pretty straightforward to add a data element to a field, but I am not familiar with the technique.
Please advise.
Thanks for reading.
Comments
Comment #1
ss_drupal CreditAttribution: ss_drupal commentedBTW -- I am asking because I frequently make use of the title attribute for a tool-tip on significant links.
Comment #2
sushilmasti CreditAttribution: sushilmasti commentedDid you find a solution for this?
Comment #3
DamienMcKennaThank you all for your efforts, but I'm sorry to say that the D6 version is no longer supported.