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 needed two modifications of this module to make it a little more generic:
1. Change the configuration settings to allow the selection of field used to make replacements, some people don't use "body", this will be better if could be selected per content type, but I didn't have time to do it.
2. Use a function to add the links to the database in order of being used by other modules or scripts.
I made a patch with these modifications.
Comment | File | Size | Author |
---|---|---|---|
#2 | alinks-select_field_add_link_function-1.patch | 5.1 KB | santiwww |
Comments
Comment #1
Greg BoggsHi Santi,
Thanks for the patch. This feature comes up from time to time. I do think we should expand the feature as you suggest before we add it to the stable release, but this could go in the dev release shortly to give people a chance to test it out.
Comment #2
santiwww CreditAttribution: santiwww commentedI checked the patch and there was a variable missing, now it is correct. I hope some others will find this useful.