You are here: Browse Railsplugins Mephisto Contact Form
Contact / Feedback form plugin for Mephisto Required setup: Rails edge, Mephisto (from trunk rather than release)
1. Install plug-in into: {MEPHISTO_ROOT}\vendor\plugins\mephisto_contact_form
2. Create a new template called ‘contact_us.liquid’ though the admin web interface (under the ‘Design’ tab). Paste in the following code:
Contact Us {% contactform %} {{ form.name }}<label for=”author”>Your name</label> {{ form.email }}<label for=”email”>Email address</label> {{ form.phone}}<label for=”phone”>Phone number (optional)</label> {{ form.subject}}<label for=”subject”>Subject</label> {{ form.body }} {{ form.submit }} {% endcontactform %}
Feel free to modify labels, layout etc.
3. Edit {MEPHISTO_ROOT}\vendor\plugins\mephisto_contact_form\lib\contact_notifier.rb and put in the email address you want contact form submissions to go to.
4. Link to ”/contact_form” from your site.
Author:: James Crisp (james.crisp@thoughtworks.com) Further info:: http://jamescrisp.blogspot.com/2007/03/contact-feedback-form-plugin-for.html Copyright:: Copyright© 2007 ThoughtWorks License:: Apache Version 2.0 (see http://www.apache.org/licenses/)
NOTE: This description has been extracted from the Plugin README and so the formatting may need updating to make browser friendly