I intend to make this the default (because it's less confusing), but you may want to put this in the bottom of config/environment.rb:

Radiant::Config['mailer.post_to_page?'] = true if Radiant::Config.table_exists?

Sean

Adam Farnsworth wrote:
Ah...got it. I wasn't understanding "parts", when you hover over the +/- buttons they're called "tabs", that has fixed my problems.


On Feb 10, 2009, at 9:09 PM, Dave Kroondyk wrote:

Are you creating page parts? These are different than regular pages. When editing any page, there are + and - icons near the top right... click the +
to add a new "page part."

On Tue, Feb 10, 2009 at 8:20 PM, Adam Farnsworth <[email protected]>wrote:

Thanks-

I think this may end up helping me, I have three questions:

1. I want to clarify, the "config" page needs to be named "mailer" and
should contain this code (with my specs, of course):
      subject: From the website of Whatever
      from: [email protected]
      redirect_to: /contact/thank-you
      recipients:
              - [email protected]
              - [email protected]

2. Where do you define SMTP values and such?

3. Does the "mailer" page need to be on the root level of the pages? As in,
does it need to spur off of the "Home Page" or can the hierachy looks
something like this:
      HomePage
              - Contact Us
                      - mailer

Thanks again,
Adam



On Jan 29, 2009, at 8:26 PM, Dave Kroondyk wrote:

I just ran into this same problem following this guide:
http://wiki.radiantcms.org/How_To_Use_The_Mailer_Extension

Turns out that you don't need to specify a "Mailer" type. Also, the
"config"
page part that the How To describes is wrong. Following the readme on the extension's git page - http://github.com/radiant/radiant-mailer-extension
-
I discovered that the "config" page part should in fact be named "mailer."

Moral of the story... make sure to study the current documentation as it
seems the How To doc is slightly outdated...

Dave

On Sat, Jan 10, 2009 at 12:56 PM, Patrick <[email protected]> wrote:

Hi,


as already asked by Andrew Gehring I am also trying to get the
mailer extension working. But I am stuck at the same point...

I have:

- Radiant 0.6.9
- running on Rails 2.0.2


I installed the mailer extension as explained on [1] via git
clone into the directory vendor/extensions/mailer.

The first problem is, that I have no page type 'Mailer' I
could choose in the admin interface when creating the
mail form (even after rebooting radiant).

So I created a normal page as explained in the how-to but
when I access it I just see the error message 'Mailer config is
not valid (see Mailer.valid_config?)'

Any help about what is wrong in my setup?

Thanks

Patrick



[1] http://wiki.radiantcms.org/How_To_Use_The_Mailer_Extension
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to