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.
Feature Request:
Have the cck field autocomplete with email addresses from the site's users. This should work with one and unlimited values. This feature should be configurable on the configuration page of the email field when it is added to a content type, as there could be the case that the user would not want this feature.
Feature Status:
I have accomplished my own feature request above and am currently creating a patch for the 6.x - 1.x dev branch. This is my first stab at git so please bear with me.
sy.
Comment | File | Size | Author |
---|---|---|---|
#5 | email-autocomplete_with-1181698-5.patch | 2.63 KB | james.williams |
#1 | 1181698-2-autocomplete.patch | 2.33 KB | syakely |
Comments
Comment #1
syakely CreditAttribution: syakely commentedgit patch file.
Comment #2
citricguy CreditAttribution: citricguy commentedAwesome mod. Be careful to not use externally though as it could give away users email's. :)
Comment #3
syakely CreditAttribution: syakely commentedtrue, I did build it for an internal site. Good point.
I could add in a permission for this feature.
Any other suggestions?
Comment #4
citricguy CreditAttribution: citricguy commentedNone that I can think of :) Thank you for the patch too, I think I've found a use for it already. Cheers!
Comment #5
james.williams CreditAttribution: james.williams at ComputerMinds commentedHere's a slightly improved patch for the Drupal 7 version. This one requires the 'administer users' permission to improve security (admittedly, a new permission could be used, but I seriously doubt emails should be exposed to users without that permissions on many sites), and shows the users' names alongside their email addresses.