Re: [Radiant] Password protection part of a radiant web site

2007-01-10 Thread Luigi Rizzo
Ruben D. Orduz wrote: > ho questo archivio "app/views/site/show_page.rhtml" in questo diretorio? Ciao Ruben, grazie per l'aiuto! :) the file is effectively missing. My installation of radiant is from the gem and not a "full" one (i.e. the app dir is not in my application root directory). What

Re: [Radiant] extension progress - solved

2007-01-10 Thread Sean Cribbs
Todd: I'd make a few tweaks so you don't have problems: (Answerbookpage.content_columns.dup).each do |column| tag "faq:#{column.name}" do |tag| tag.locals.answer.send(column.name).to_s if tag.locals.answer end end [snip] tag "faq:each" do |tag| result = "" Answerbookpag

Re: [Radiant] extension progress - solved

2007-01-10 Thread Todd McGrath
Well, that is exactly what I needed. Thanks again, Jamie! I can't say if the following code is the best, most efficient way, but here it is for posterity sake- module FaqTag include Radiant::Taggable class TagError < StandardError; end # # # etc... # (Answerbookpage.column_na

Re: [Radiant] Mailer Behavior on ASmallOrange

2007-01-10 Thread Michael Roper
ah yes, authentication has caught me out a few times as well.. On 1/11/07, BJ Clark <[EMAIL PROTECTED]> wrote: > Michael, > It's not working under dev, but I finally got an error (ya!). > It's not authenticating properly, so I've contact my hosting provider > to see what they have to say about it.

Re: [Radiant] Mailer Behavior on ASmallOrange

2007-01-10 Thread BJ Clark
Michael, It's not working under dev, but I finally got an error (ya!). It's not authenticating properly, so I've contact my hosting provider to see what they have to say about it. If I figure anything out, I'll post it here. BJ On 1/10/07, Michael Roper <[EMAIL PROTECTED]> wrote: > Hi BJ, > > Just

Re: [Radiant] Password protection part of a radiant web site

2007-01-10 Thread Ruben D. Orduz
Luigi, ho questo archivio "app/views/site/show_page.rhtml" in questo diretorio? On 1/10/07, Luigi Rizzo <[EMAIL PROTECTED]> wrote: > Hello. > > Is there any working solution made available by the radiant > development/user community to password protect a part of a radiant-based > web site? > >

[Radiant] Password protection part of a radiant web site

2007-01-10 Thread Luigi Rizzo
Hello. Is there any working solution made available by the radiant development/user community to password protect a part of a radiant-based web site? Unluckily it seems the password_protected behavior doesn't work with 0.5.2 (see below for the error I get) :( Many thanks in advance! Luigi A

Re: [Radiant] Mailer Behavior on ASmallOrange

2007-01-10 Thread Michael Roper
Hi BJ, Just out of interest, does it work under development mode on the same server? I was having a similar issue, where it works fine in dev mode, but not in production mode. I havent managed to get t resolved yet.. http://www.ruby-forum.com/topic/91276#180017 On 1/11/07, BJ Clark <[EMAIL PRO

Re: [Radiant] extension progress

2007-01-10 Thread Todd McGrath
It's the same thing I thought! But, on further review, the site has an existing table that is periodically updated from their CRM system (automated, batch style). Jamie, thank you, I really appreciate the suggestion from earlier today. Haven't had a chance to further work on it more today, but

Re: [Radiant] Mailer Behavior on ASmallOrange

2007-01-10 Thread BJ Clark
Hello All, I'm still un-able to get my contact page to work. I am getting no errors in my production log. All that I can find that related to the mailer is this: Processing SiteController#show_page (for 165.127.53.190 at 2007-01-10 16:58:20) [POST] Parameters: {"mailer"=>{"message"=>"Test", "nam

Re: [Radiant] extension progress

2007-01-10 Thread Jamie Wilkinson
On second glance... what do you need from a FAQ that can't be accomplished with page children and a plethora of page parts? -jamie On Jan 10, 2007, at 10:14 AM, Jamie Wilkinson wrote: > Howdy Todd, > > A combination of cloning the tag (slightly lower in > the same file) and the metamethod you

Re: [Radiant] extension progress

2007-01-10 Thread Jamie Wilkinson
Howdy Todd, A combination of cloning the tag (slightly lower in the same file) and the metamethod you pointed out should work just fine. So it would look more like: -jamie On Jan 10, 2007, at 7:46 AM, Todd McGrath wrote: > Hello again, > > I'm making some progress on e

[Radiant] extension progress

2007-01-10 Thread Todd McGrath
Hello again, I'm making some progress on extensions and now I'm looking for a little push in the right direction. I'm working on an extension for displaying data from database for the FAQ section of a site using tags (mental branch). * Created a FaqExtension and include the tag: def activate