Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 53 lines (29 sloc) 1.711 kB
f6564a2 @parndt Initial extraction from RefineryCMS core.
parndt authored
1 # Inquiries
2
1fc7449 @parndt Fixes #9 by updating the readme to mention spam filtering, stop menti…
parndt authored
3 ![Refinery Inquiries](http://refinerycms.com/system/images/BAhbBlsHOgZmSSIqMjAxMS8wNS8wMS8wNF81MF8wMV81MDlfaW5xdWlyaWVzLnBuZwY6BkVU/inquiries.png)
f6564a2 @parndt Initial extraction from RefineryCMS core.
parndt authored
4
81bbc99 @parndt Now we don't need :require => 'inquiries'
parndt authored
5 ### Gem Installation using Bundler (The very best way)
6
7 Include the latest [gem](http://rubygems.org/gems/refinerycms-inquiries) into your Refinery CMS application's Gemfile:
8
c4d3d92 @ugisozols Update readme.
ugisozols authored
9 gem 'refinerycms-inquiries', '~> 2.0.0'
81bbc99 @parndt Now we don't need :require => 'inquiries'
parndt authored
10
11 Then type the following at command line inside your Refinery CMS application's root directory:
12
13 bundle install
14
c4d3d92 @ugisozols Update readme.
ugisozols authored
15 #### Installation on Refinery 2.0.0 or above.
e5107a5 @awagener Update the install instructions for Refinery 0.9.9
awagener authored
16
428ceca @djones Update to latest versions.
djones authored
17 To install the migrations, run:
e5107a5 @awagener Update the install instructions for Refinery 0.9.9
awagener authored
18
c4d3d92 @ugisozols Update readme.
ugisozols authored
19 rails generate refinery:inquiries
e5107a5 @awagener Update the install instructions for Refinery 0.9.9
awagener authored
20 rake db:migrate
62e2928 @krisf update readme.md with 'rake db:seed'
krisf authored
21
22 Add pages to the database and you're done:
23
24 rake db:seed
81bbc99 @parndt Now we don't need :require => 'inquiries'
parndt authored
25
f6564a2 @parndt Initial extraction from RefineryCMS core.
parndt authored
26 ## About
27
983a893 @parndt more relevant readme.
parndt authored
28 __Add a simple contact form to Refinery that notifies you and the customer when an inquiry is made.__
f6564a2 @parndt Initial extraction from RefineryCMS core.
parndt authored
29
30 In summary you can:
31
32 * Collect and manage inquiries
33 * Specify who is notified when a new inquiry comes in
34 * Customise an auto responder email that is sent to the person making the inquiry
35
1fc7449 @parndt Fixes #9 by updating the readme to mention spam filtering, stop menti…
parndt authored
36 When inquiries come in, you and the customer are generally notified. As we implemented spam filtering through the [filters_spam plugin](https://github.com/resolve/filters_spam#readme) you will not get notified if an inquiry is marked as 'spam'.
f6564a2 @parndt Initial extraction from RefineryCMS core.
parndt authored
37
38 ## How do I get Notified?
39
40 Go into your 'Inquiries' tab in the Refinery admin area and click on "Update who gets notified"
41
42 ## How do I Edit the Automatic Confirmation Email
43
2dab502 @parndt Explain where tld_length went.
parndt authored
44 Go into your 'Inquiries' tab in the Refinery admin area and click on "Edit confirmation email"
45
46 ## Help! How do I send emails from no-reply@domain.com.au instead of no-reply@com.au?
47
b46f209 @ugisozols ActionDispatch::Http::URL.tld_length -> config.action_dispatch.tld_le…
ugisozols authored
48 Simply set the following in config/application.rb:
2dab502 @parndt Explain where tld_length went.
parndt authored
49
50 ```ruby
b46f209 @ugisozols ActionDispatch::Http::URL.tld_length -> config.action_dispatch.tld_le…
ugisozols authored
51 config.action_dispatch.tld_length = 2
52 ```
Something went wrong with that request. Please try again.