Is anyone successfully using the newsletter extension in 0.7.1 or 0.8?
If not, does anyone have any sense of when it might be ready for prime
time on these recent versions?
~ Alexis
=================
Alexis Masters, author
http://www.alexismasters.com
510 234-0027
On Jul 15, 2009, at 10:00 AM, radiant-requ...@radiantcms.org wrote:
Send Radiant mailing list submissions to
radiant@radiantcms.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.radiantcms.org/mailman/listinfo/radiant
or, via email, send a message with subject or body 'help' to
radiant-requ...@radiantcms.org
You can reach the person managing the list at
radiant-ow...@radiantcms.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Radiant digest..."
Today's Topics:
1. Re: Radiant Extension (Victor Pereira)
----------------------------------------------------------------------
Message: 1
Date: Wed, 15 Jul 2009 10:08:39 +0200
From: Victor Pereira <pelas...@gmail.com>
Subject: Re: [Radiant] Radiant Extension
To: radiant@radiantcms.org
Message-ID:
<20de8d550907150108l3fcb814id93898c76b2d7...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Hey Andrew,
thanks for your reply. I will check it now. My idea is just to learn
how to
play with radiant. I'm not trying to reinvent the wheel :-)
Best regards,
VP
On Tue, Jul 7, 2009 at 12:23 AM, Andrew Neil
<andrew.jr.n...@googlemail.com>wrote:
Hi,
You might like to have a look at these extensions:
http://github.com/pilu/radiant-newsletter/tree/master
http://github.com/nelstrom/radiant-subscriber-lists-extension/tree/master
I wrote the subscriber_lists extension to gather email addresses
through a
form on the website. It is basically a simplified version of the
newsletter
extension (which is much more ambitious). The newsletter extension
also
allows you to send emails to all of the email addresses that you
gather
through the form. At the time I tried it out, I was unable to make
rails
send email using a googlemail address, but I think that might have
been
fixed since.
Both of these extensions are quite out of date, so they might need
a bit of
work to get them working with the current version of Radiant. I
think they
worked fine on Radiant 0.6.9.
I don't intend to update the subscriber list extension. If anyone
would
like to take over it's maintenance, that's grand. For myself, I
would always
choose to let a 3rd party deal with subscriber lists in the future.
The
likes of MailBuild (http://www.mailbuild.com/) offers code snippets
that
you can include in your templates. I recommend that you try them out.
Cheers,
Drew
On 4 Jul 2009, at 09:54, Victor Pereira wrote:
Hi, i'm trying to write a simple extension to store emails, that
users can
entry thru the newsletter form in one of the default templates.
So i changed the snippet newsletter to something like that:
<div class="box"> <h3>Our Newsletter</h3> <form action="/
newsletter/send"
method="get"> <input class="email" value="Enter your email
address..."
type="text" id="email" name="name" /> <input class="subscribe"
type="submit"
value="Subscribe" /> </form> </div>
my route at my extension.rb is something like:
define_routes do |map|
map.connect '/newsletter/send',
:controller=>'newsletter',:action=>'send'
end
As a test i tried to call my controller/action like that:
http://localhost:3000/newsletter/send?email=vpere...@web.de
It didnt work, my controller is like that:
class NewsletterController < ApplicationController no_login_required
#skip_before_filter :verify_authenticity_token def send #...@news =
Newsletter.find_or_create_by_email(params[:email]) @news =
Newsletter.new(params[:email]) @news.save flash[:notice] = "Your e-
mail
was
added to our newsletter" redirect_back_or_default("/") end end
Questions:
1) I cannot use a normal form syntax in my html?
2) I cannot access the params at my controller?
Thanks!
_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
------------------------------
_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
End of Radiant Digest, Vol 40, Issue 23
***************************************
_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant