I'm trying to figure out how to get either a custom profile field 'profile_contact_email' or the default profile email as the "To:" part of the contact form.

As probably noticed in my other posts, i'm not very good with code. Is there a way this can be done that it would dynamically send this email so that when a visitor (anon) accesses the site they can email that domains owner?

Comments

ygg’s picture

Title: Domain User Support for Contact Module? » Domain User Support for Contact Module? (Must Update)
Priority: Normal » Critical

I must update this to critical for my sake. I don't know if that is the right thing to do, but I have a critical client that I need to figure this out for. It would seem no one is wanting to help me tackle this.

Thank you for the patience.

agentrickard’s picture

We're all at DrupalCON, and have been too busy.

This is a custom code need, that would be supported -- similar to your other request -- by writing some code to leverage the UID of the current domain. From a module maintainer perspective, this is a custom feature request that I do not have time to support.

To get immediate help, you may need to post in the Paid Services forum or the Jobs section of groups.drupal.org.

ygg’s picture

Title: Domain User Support for Contact Module? (Must Update) » Domain User Support for Contact Module?

I have temporarily fixed the issue with a Contact.module patch that was available. Nonetheless, I would be interested in anyone wanting to help develop an add-on module for Domain User to allow for Domain User Contact Forms.

I think that would be the better way to do this.

agentrickard’s picture

Right. See http://drupal.org/node/228855 for a related request. All you really need is a link from the user to their contact page.

agentrickard’s picture

Status: Active » Closed (fixed)
bartezz’s picture

Webform has an issue for token support (can't believe it doesn't have this yet) http://drupal.org/node/428982
With token support you could create one webform and have [site-mail] as the receiver...

Hopefully quick will grant our wishes soon :)

Cheers