Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Contact Form

Started by Muut Archive 12 years ago · 3 replies · 802 views
12 years ago

Hi, any idea for install a contact form?
Regards

12 years ago

Hi, I've implemented the use of an Ajax Contact form to get around this for the time being. Something very similar to this article:

http://blog.teamtreehouse.com/create-ajax-contact-form

In addition, I'm also adding the form details to a text file (email can break from time to time) to keep a backup of the requests coming in (if any!).

In addition, I found this awesome "simple email template" on github to format the email into HTML:

https://github.com/leemunroe/html-email-template

The whole thing sits neatly inside a sub-folder off the root so not to interfere with the rest of the grav install.

I hope this helps.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 671 1 week ago
Archive · by Deleted User, 9 years ago
0 3041 9 years ago
Archive · by Muut Archive, 9 years ago
2 1980 9 years ago
Archive · by Muut Archive, 9 years ago
2 5335 9 years ago
Archive · by Muut Archive, 9 years ago
1 4133 9 years ago