grav-skeleton-agency-site icon indicating copy to clipboard operation
grav-skeleton-agency-site copied to clipboard

contact form doesn't work

Open walkero-gr opened this issue 7 years ago • 3 comments

Unfortunately, contact form doesn't work at all. I use the latest version of the skeleton. When I test the email plugin from terminal, with the following command, the email is received just fine. bin/plugin email .....

I do not have any error at the logs. Also, when I submit the contact form, it doesn't lead me to a thank you page.

Any clue what should be done?

walkero-gr avatar Jun 24 '17 15:06 walkero-gr

Check out this: https://github.com/getgrav/grav-theme-agency/pull/17 And this: https://github.com/getgrav/grav-theme-agency/issues/16 Sadly I still cannot get it to work.

johannesE avatar Aug 31 '17 14:08 johannesE

I got this to work by adding:

    email:
        subject: "[Site Contact Form] {{ form.value.name|e }}"
        body: "{% include 'forms/data.html.twig' %}"

to the process section of the form.md, as is indicated in the doc.

consumr avatar Jun 11 '20 22:06 consumr

nope, spent 2 days now trying to fix the contact form, no success. pretty much abandonware since 2017.

erdnuesse avatar Mar 03 '24 18:03 erdnuesse