[Radiant] Adding an e-mail form

Jeroen Janssen jeroen at laika.nl
Wed Jul 26 05:29:47 CDT 2006


I have to add a simple contact e-mail form to a Radiant based  
website. Unfortunately the mailer behaviour doesn't seem to work  
anymore with the latest version of Radiant.

Because I don't have the time (or skill level) to fix mailer  
behaviour or make a proper behaviour myself I'm trying to make my own  
form in Rails and add a custom route to this page. Sounds simple  
enoguh, but I'm stuck at the route part.

Something like this should work, right? Or am I missing something?

   map.connect 'contact', :controller => "info_mailer", :action =>  
'show'

I just get a regular Radiant page not find error, so I guess I'm  
doing something wrong.

Can someone point me in the right direction, or, even better has  
anyone implemented a simple contact e-mail form or does anyone know  
how to fix mailer behaviour?

--
Jeroen



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20060726/465678a7/attachment.html


More information about the Radiant mailing list