Customizing the form email template

Permalink
Hi,

Is it possible to change the email that is send when someone fills in the form block?

I'd like to remove this:
"Ga naarhttp://baguetelle.be/index.php/dashboard/reports/forms/view/43... om alle verstuurde formulieren te bekijken."
On the end of the mail.

Where can i find the code to change this?

Concrete version 8.0.3.

Thanks,
Grafoman

 
ramonleenders replied on at Permalink Reply
ramonleenders
Go to your FTP. Navigate to /concrete/mail. In here you will find a file called "block_form_submission.php". Copy that to /application/mail. Edit/remove this line:

To view all of this form's submissions, visit %s

But since this is a complete language line, the top line will not be translated anymore. So you may just directly change it to your language too if you're using 1 language only in your site. Otherwise make a translation file!
grafoman replied on at Permalink Reply
Hi,

I followed your instructions and changed the line to:
$body = t("
There has been a submission of the form %s through your concrete5 website.

%s

");


But it does not seem to have any effect.. I cleared cache.. No effect.
ramonleenders replied on at Permalink Best Answer Reply
ramonleenders
I was assuming you use the Legacy Form block, but you probably use the Express one.

Do the edits for this file too:

block_express_form_submission.php
grafoman replied on at Permalink Reply
Solved, thank you!