[Radiant] Re: How to use the toggle effect on pages?
Wes, Is there a way to specify the onClick event for radius tags? for example for a set checkboxes or a dropdown? Cheers On Sep 10, 5:55 pm, Wes Gamble wrote: > You may want to check out jQuery, which allows you to do effects like > this. > > See:http://api.jquery.com/category/effects/for the jQuery API > documentation on the show() and hide() methods. > Download:http://docs.jquery.com/Downloading_jQuery > Tutorials:http://docs.jquery.com/Tutorials > > Given: > > > This content will be shown/hidden. > > > You would use something like > > $('.x').show() to show it and $('x').hide() to hide it. > > Good luck, > Wes > > On 9/10/10 3:32 PM, Horst Rischbode wrote: > > > > > Hi, > > > I want to show (and be able to hide it again) a div on user's demand. > > I want to appear it similar to the 'less' & 'more' attributes > > behaviour of the edit page view. > > > I'm not familar with haml, so I don't understand, how to get this > > working on my gallery pages. Please be patient... > > > Can anybody point out, which JS libraries to include and how to build > > up a simple example with html? > > > Thanks for any advice! > > > Horst
[Radiant] Re: RadiantCMS 9.0 and an ActionMailer Problem
Hi Anna, Thanks for all the advice I found that the problem was with my actionMailer configuration, ActionMailer::Base.smtp_settings = { :address => "mail.x.com ", <--- There is an extra space. After the extra space was removed all worked. Cheers On Sep 10, 3:03 pm, banane wrote: > I wrote up a blog post about my own struggles with actionmailer. > > To troubleshoot yours, I'd create an even smaller form. By "not > working" is it that the form doesn't submit to your redirect page? > Does the form submit to your model/database? I don't see the > actionmailer log, so I don't thing it's even being touched. > > Do you have a mail log you can monitor? > > http://www.banane.com/2009/10/27/radiant-mailer-extension-installatio... > > Sorry if this is too basic- did you check your environment.rb to > include it as a framework? By default it's removed. > > Anna > > > > On Fri, Sep 10, 2010 at 7:06 AM, Allan MacGregor > wrote: > > Hi, > > > I installed RadiantCMS 9.0, I configured actionMailer and created a > > example form, now my problem is that the form is not doing anything on > > submission. Going into the production log I see : > > > Processing MailController#create (for 72.139.69.1 at 2010-09-10 > > 13:53:50) [POST] > > Parameters: {"page_id"=>"6", "action"=>"create", > > "mailer"=>{"company"=>"Allanmacgregor.com", "name"=>"asd", > > "phone"=>"123123231", "message"=>"sdfsdf", > > "email"=>"d...@allanmacgregor.com"}, "controller"=>"mail"} > > Sent mail to i...@allanmacgregor.com > > Completed in 389ms (View: 1, DB: 7) | 200 OK [http:// > >www.allanmacgregor.com/pages/6/mail] > > > On my environment file I have the following config: > > > ActionMailer::Base.smtp_settings = { > > :address => "mail.x.com ", > > :domain => "allanmacgregor.com", > > :port => 25, > > :user_name => "x", > > :password => "x", > > :authentication => :plain > > } > > > My form code is the following: > > > body: > > > > > > Enter your Contact information and message > > Name > > Company > > Phone > > Email > > > > > > > > > > > mailer: > > subject: "Query Received from Contact Form" > > redirect_to: /products.html > > from_field: email > > recipients: > > - i...@allanmacgregor.com > > > email: > > from: , > > > message: > > > > > Any help its welcome, I been trying to get this working for days and > > no luck so far. > > > Cheers
[Radiant] RadiantCMS 9.0 and an ActionMailer Problem
Hi, I installed RadiantCMS 9.0, I configured actionMailer and created a example form, now my problem is that the form is not doing anything on submission. Going into the production log I see : Processing MailController#create (for 72.139.69.1 at 2010-09-10 13:53:50) [POST] Parameters: {"page_id"=>"6", "action"=>"create", "mailer"=>{"company"=>"Allanmacgregor.com", "name"=>"asd", "phone"=>"123123231", "message"=>"sdfsdf", "email"=>"d...@allanmacgregor.com"}, "controller"=>"mail"} Sent mail to i...@allanmacgregor.com Completed in 389ms (View: 1, DB: 7) | 200 OK [http:// www.allanmacgregor.com/pages/6/mail] On my environment file I have the following config: ActionMailer::Base.smtp_settings = { :address => "mail.x.com ", :domain => "allanmacgregor.com", :port => 25, :user_name => "x", :password => "x", :authentication => :plain } My form code is the following: body: Enter your Contact information and message Name Company Phone Email mailer: subject: "Query Received from Contact Form" redirect_to: /products.html from_field: email recipients: - i...@allanmacgregor.com email: from: , message: Any help its welcome, I been trying to get this working for days and no luck so far. Cheers