Form details

Permalink
Probably a very simple one but when using the 'Form' add on which works fine you can set who the form is posted to (my client) but the 'from' information shows my email address (webmaster/designer).

How do I change this?

Many thanks

dhdesign
 
rdains replied on at Permalink Reply
rdains
Kind of a messy fix, but it works for me. Copy concrete/blocks/form/controller.php to blocks/form/controller.php (this will prevent you from having to redo this if and when you uprade).

Around line 323, you should see this code:
$formFormEmailAddress = $adminUserInfo->getUserEmail();


Edit it to look like this:
$formFormEmailAddress = 'youremail@site.com';


Hope that helps.
rdains replied on at Permalink Best Answer Reply
rdains
dhdesign replied on at Permalink Reply
dhdesign
OK thanks for your efforts. Shame we can't just set that in the block edit.