-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME
executable file
·57 lines (33 loc) · 1.77 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
= Newsletter
Created by: Andrea Franz - http://gravityblast.com
Version: 0.1.5
Contact: andrea AT gravityblast DOT com
This extensions adds a newsletter system to RadiantCMS
More info can be found at the following url:
http://gravityblast.com/projects/radiant-newsletter-extension/
== Installation
Newsletter extension requires the Shards extension, an official extension from the Radiant team:
svn export http://dev.radiantcms.org/svn/radiant/trunk/extensions/shards/ ./vendor/extensions/shards
Make sure that Shards is loaded before this and other extensions requiring it by
adding this line inside the Radiant::Initializer.run do |config| section of
environment.rb:
config.extensions = [ :shards, :all ]
Also you need to install the will_paginate rails plugin, you can find more info here:
http://rock.errtheblog.com/will_paginate
Then you can proceed with installation:
svn export http://dev.gravityblast.com/svn/projects/radiant/extensions/newsletter/ ./vendor/extensions/newsletter
rake RAILS_ENV="production" radiant:extensions:newsletter:install
Add ActionMailer configurations in your environment.rb and restart the server.
config.action_mailer.server_settings = {
:address => "address_of_smtp_server",
:port => 25,
:domain => "domain_of_smtp_server"
}
== Usage
Create a Newsletter page using the following task:
rake RAILS_ENV="production" radiant:extensions:newsletter:page:new
This task will add a new page called Newsletter.Add a child to this page.
This new page will be the email to send. After the first save, you will see
the "Send as newsletter" button. Click and send your newsletter.
== Contributors
Casper Fabricius (http://casperfabricius.com)