Re: [Radiant] page_attachments does not save anything

2007-12-07 Thread Sean Cribbs
Michael, Make sure to use the included rake task to copy the included javascript and stylesheets to your public directory. Sean Michael Nikitochkin wrote: > I have other problem, when I add this extension in Edit page below body > I see a green plus which and label with "(0)" in the end. But w

Re: [Radiant] page_attachments does not save anything

2007-12-07 Thread Ulf Moehring
Sean, thanks for the suggestion. Unfortunately that wasn't the problem... Ulf On Dec 7, 2007, at 6:06 AM, Sean Cribbs wrote: > Ulf, > > Check the permissions on the public/ directory of your Radiant project > and make sure that the user your app server (Mongrel or FCGI) runs as > has write acc

Re: [Radiant] How to include classes in extensions?

2007-12-07 Thread subsorama
Many thanks for both your detailed answers, they were indeed very helpful. I went ahead with the mixin module as I also wanted the ordinals styled with 's. After some thought I should imagine a much cleaner way would be by defining a regexp for the date string and running that from the tags

Re: [Radiant] Issues while Installing backdoor

2007-12-07 Thread Matias Quaglia
Thank you Aitor! Your work will help another newbies like me! Greetings! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aitor Garay-Romero Sent: Friday, December 07, 2007 12:49 PM To: radiant@lists.radiantcms.org Subject: Re: [Radiant] Issues while Inst

Re: [Radiant] page_attachments does not save anything

2007-12-07 Thread Michael Nikitochkin
I have other problem, when I add this extension in Edit page below body I see a green plus which and label with "(0)" in the end. But when I click on plus nothing action begins. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post:

Re: [Radiant] Issues while Installing backdoor

2007-12-07 Thread Aitor Garay-Romero
This is something that is not clear in the documentation wiki. So i updated the main extension wiki page to comment this ( http://wiki.radiantcms.org/Extensions). I added a "Note on extension directory naming" section at the end. /AITOR On Dec 7, 2007 2:00 PM, <[EMAIL PROTECTED]> wrote:

Re: [Radiant] How to include classes in extensions?

2007-12-07 Thread Andrew O'Brien
Hi Dominic, First off, I think what you're trying to do is already done by a Rails core extension to Integer. See: http://api.rubyonrails.org/classes/ActiveSupport/CoreExtensions/Integer/Inflections.html If you still want to do something like this, it needs to be more like (and I haven't tested

Re: [Radiant] How to include classes in extensions?

2007-12-07 Thread Sean Cribbs
[EMAIL PROTECTED] wrote: > Hi, > > I would like to access this snippet of code from within my extension > tags: > > class Numeric >def ordinal > cardinal = self.to_i.abs > if (10...20).include?(cardinal) then >cardinal.to_s << 'th' > else >cardinal.to_s << %w{th

Re: [Radiant] page_attachments does not save anything

2007-12-07 Thread Sean Cribbs
Ulf, Check the permissions on the public/ directory of your Radiant project and make sure that the user your app server (Mongrel or FCGI) runs as has write access to that directory. It's possible that the file wouldn't save. Sean Ulf Moehring wrote: > Hi all, > > I just installed the page_at

Re: [Radiant] Issues while Installing backdoor

2007-12-07 Thread Matias Quaglia
It worked!!! Thank you Subsorama! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, December 07, 2007 10:00 AM To: radiant@lists.radiantcms.org Subject: Re: [Radiant] Issues while Installing backdoor I have it installed as b

Re: [Radiant] Issues while Installing backdoor

2007-12-07 Thread subsorama
I have it installed as back_door. CamelCase names get translated to camel_case address I believe. Maybe your issue. On 7 Dec 2007, at 12:47, Matias Quaglia wrote: > > Hi Everyone, > > I tried to install Aitor's extension backdoor. I am using a shared > hosting > account running rails on CGI

[Radiant] Issues while Installing backdoor

2007-12-07 Thread Matias Quaglia
Hi Everyone, I tried to install Aitor's extension backdoor. I am using a shared hosting account running rails on CGI. Is not that fast, but is working well so far. I checked out thorugh svn the stable version of backdoor http://backdoor.rubyforge.org/svn/tags/stable/ on vendor/extensions (I plac

[Radiant] How to include classes in extensions?

2007-12-07 Thread subsorama
Hi, I would like to access this snippet of code from within my extension tags: class Numeric def ordinal cardinal = self.to_i.abs if (10...20).include?(cardinal) then cardinal.to_s << 'th' else cardinal.to_s << %w{th st nd rd th th th th th th}[cardinal % 10]

Re: [Radiant] (no subject)

2007-12-07 Thread Matias Quaglia
Thank you very much Sean and Aitor. I will try to make it that way. MQ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aitor Garay-Romero Sent: Thursday, December 06, 2007 7:21 PM To: radiant@lists.radiantcms.org Subject: Re: [Radiant] (no subject)