Giter Club home page Giter Club logo

spree-contact-form's Introduction

Spree Contact Form Extension

An spree extension for contact forms.

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

Viewing Contact Form

http://yourdomain.tld/contact

spree-contact-form's People

Contributors

buddhi-desilva avatar danukeru avatar joshnuss avatar themgt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

spree-contact-form's Issues

Rails 3.2 can't mass assign

Hi,

i just installed the gem with a spree core 1.2.0. The migrations would not run automaticall, so i had to copy and run them manually. After that, it worked nice, but the controllers could not save the message topics nor the messages. The models are missing the attributes_accessible statement.

Could you upgrade the gem for spree 1.2.0 and rails 3.2?

Missing migrations?

The generator (and installation instructions) appear to assume the presence of a migration (or two) to create at least two tables. That migration isn't getting created by the generator, nor can I find any trace of it in the gem. I can create one (inferring columns from the spec files) but is it somewhere in the repository?

Installation

Hello,

Just wondering if you have Installation instructions for this gem. Is it just the following ?

add to Gemfile
gem 'spree-contact-form', :git => '[email protected]/joshnuss/spree-contact-form.git'

Run DB Migration
rake db:migrate

Any clarification you can provide would be great and thanks for the great work,

Joseph

Odd dependency issue

Sorry to be a squeaky wheel. This one absolutely baffles me.

I'm getting this bundler error:

Bundler could not find compatible versions for gem "spree_core":
  In Gemfile:
    spree (= 0.70.3) depends on
      spree_core (= 0.70.3)

    spree_contact_form depends on
      spree_core (1.0.0.rc2)

I don't see such a dependency anywhere in the code; in particular, spree_contact_form.gemspec says s.add_dependency('spree_core', '>= 0.70.RC1').

Any ideas?

"New Contact Topic" button not working through ajax

Development mode
Google Chrome

Click the "New Contact Topic" and nothing loads. It comes up with the box at the top saying "Loading", but after the request is finished nothing appears on the screen.

This can be worked around by manually putting in the url at the top of the page of "/contact/new" and you can create that way.

This could be related to a custom application layout, but the admin section still uses the default layout.

After creation the "Edit" link works as expected

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.