Spree extension that provides a basic contact form
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 6 commits ahead of joshnuss:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
autotest
config
db/migrate
lib
pkg
spec
.gitignore
GEM_VERSION
Guardfile
LICENSE
README.md
Rakefile
Versionfile
spree_contact_form.gemspec

README.md

Spree Contact Form Extension

A spree extension for contact forms with reCAPTCHA

Installation

  1. add the gem to your Gemfile:

gem 'spree_contact_form'

  1. run bundler:

bundle install

  1. install it:

rails generate spree_contact_form:install

  1. migrate your database:

rake db:migrate

  1. Configure reCAPTCHA

You may use the block style configuration. The following code could be placed into a +config/initializers/recaptcha.rb+ when used in a Rails project.

Recaptcha.configure do |config|
  config.public_key  = '6Lc6BAAAAAAAAChqRbQZcn_yyyyyyyyyyyyyyyyy'
  config.private_key = '6Lc6BAAAAAAAAKN3DRm6VA_xxxxxxxxxxxxxxxxx'
  config.proxy = 'http://myproxy.com.au:8080'
end

check: https://github.com/ambethia/recaptcha/ and http://www.google.com/recaptcha for more information on configuring reCAPTCHA

Viewing Contact Form

http://yourdomain.tld/contact