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've edited the contact.pages.inc and the contact.module files and substitued the core contact module with this one I've uploaded.
Now anon can send mail to users contact page.
Hope this help.
Luca
Comment | File | Size | Author |
---|---|---|---|
contact.zip | 18.15 KB | muka |
Comments
Comment #1
antelrope CreditAttribution: antelrope commented/*
Edit:
Upon further testing, it seems that this breaks the ability for a logged in user to send a message. Woops.
I am looking at the code base and I trying to get it working. I have zero experience writing for drupal but this looks doable.
*/
This works very well for me with the exception that an anonymous user sees "Your name: *" and "Your e-mail address: *" fields but none of this information is sent to the recipient.
Comment #2
antelrope CreditAttribution: antelrope commentedI fixed all the major issues. I'll upload a patch against the latest dev version of contact sometime later today -- as soon as I figure out how to generate a patch file.
Comment #3
Dave ReidI've actually finished the backport myself antelrope. Please check out the latest code from CVS!