Skip to content

cybergizer/Spree-Newsletter-Subscribers

 
 

Repository files navigation

Spree Newsletter Subscribers

This extension is just a simple administration screen and partial that can be used in your views to gather email addresses in a local database table.

Installation

  • Add "gem 'spree_newsletter_subscribers', :git => 'git://github.com/Michael1969/Spree-Newsletter-Subscribers.git'" to your Gemfile

  • Run "bundle"

  • Run "rails g spree_newsletter_subscribers:install" and select "Y" to run the migrations

  • And.....Insert form into your views where appropriate, such as:

      	<%= form_for :newsletter_subscribers, :url => :newsletter_subscribers do |f| %>
      		<%= f.text_field :first_name %>
      		<%= f.text_field :last_name %>
      		<%= f.text_field :email %>
      		<%= f.submit 'SUBSCRIBE' %>
      	<% end %>
    

Todo

  • Ability to unsubscibe
  • Tests
  • Everything else! :-)

Copyright (c) 2012 XWC Solutions, released under the New BSD License

About

Spree extension to allow collection of email addresses via a form and stored locally in the database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 74.1%
  • HTML 25.9%