[Radiant] BIG problems after removing page_attachments

2008-08-29 Thread [EMAIL PROTECTED]
OK, guys. I gave in to the hype about paperclipped, about how it will make my whites whiter and make my food taste better and all that jazz. Weeel, I need to get rid of page_attachments first, so I did, and now my site won't start back up. The process: 1) ssh into server and migrate page_atta

Re: [Radiant] selecting current page in menu

2008-08-29 Thread Sean Cribbs
The typical way is to use . This snippet should do what you like: /> class="here"> Unfortunately, it won't let you add the "last" class, but you could add that with JavaScript pretty easily. If you're using Prototype: document.observe("dom:loaded", function(){ $$('li:last-child').i

[Radiant] selecting current page in menu

2008-08-29 Thread Bartee Lamar
I have this as my menu. I need to identify which is the current page so I can set the class="here" How can I do that ? Home Shop Projects Gallery About Me Contact Us -- Posted via http://www.ruby-forum.com/.

Re: [Radiant] Re: 0.6.9 sass_filter Extension

2008-08-29 Thread Andrew Neil
On 29 Aug 2008, at 20:35, Chuck Barr wrote: Sean Cribbs wrote: Haml has been included in Radiant since 0.6.7. We need to remove it from the sass_filter extension. Sean I realize there's potential confusion for the new user but sass_filter should come stock like textile or markdown. +1 D

Re: [Radiant] Sorting through the piles of Radiant extensions: solution needed!!

2008-08-29 Thread Mohit Sindhwani
Christopher Dwan wrote: *There is a Need: Sorting the piles of extensions* We need a better way to sort through the piles of extensions that are cropping up. The wiki isn't cutting it and announcements on the mailing list don't quite cut it.. *snip* *A Dream Died (almost)* Well, radiantext

[Radiant] Writing extensions - where to put plugins?

2008-08-29 Thread Christopher Dwan
The extension I'm working on requires restful_authentication and I've currently got it in /vendor/plugins. I'd rather include the whole thing in my extension. Is there any kind of 'etiquette' associated with that? Can I just dump it into /vendor/extensions/my_extension/vendor/plugins and

Re: [Radiant] Sorting through the piles of Radiant extensions: solution needed!!

2008-08-29 Thread Christopher Dwan
On 29-Aug-08, at 12:45 PM, Marty Haught wrote: Hi Chris, I believe there's already something in the works for this exact sort of thing. I'm not sure of its status but I bet we'll hear shortly. :) I think it's almost always better to ping the list first as it would have sucked if you did regis

Re: [Radiant] Sorting through the piles of Radiant extensions: solution needed!!

2008-08-29 Thread Sean Cribbs
Actually, it's things like this that should be added to ext.radiantcms.org -- the project is available at http://github.com/radiant/radiant-extension-registry. Things like ratings, categories, comments, etc, would really round out the site. My only requirement is that it remains compatible wi

Re: [Radiant] Sorting through the piles of Radiant extensions: solution needed!!

2008-08-29 Thread Marty Haught
Hi Chris, I believe there's already something in the works for this exact sort of thing. I'm not sure of its status but I bet we'll hear shortly. :) I think it's almost always better to ping the list first as it would have sucked if you did register the domain, spent hours whipping it up only to

[Radiant] Re: Re: Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Arik Jones
Christopher Dwan wrote: > On the serious side though, I'm trying to think up a solution that > will help with sorting through the extensions out there. For a new > person coming to Radiant, there doesn't seem to be a good way to > figure out what extensions to pick, how hard they are to install, wh

[Radiant] Sorting through the piles of Radiant extensions: solution needed!!

2008-08-29 Thread Christopher Dwan
*There is a Need: Sorting the piles of extensions* We need a better way to sort through the piles of extensions that are cropping up. The wiki isn't cutting it and announcements on the mailing list don't quite cut it.. *Background: Paperclipped - the relatively unknown and seriously aweso

Re: [Radiant] Re: 0.6.9 sass_filter Extension

2008-08-29 Thread Sean Cribbs
Chuck, I like that idea... a patch/pull-request would be appreciated! Sean Chuck Barr wrote: Sean Cribbs wrote: Haml has been included in Radiant since 0.6.7. We need to remove it from the sass_filter extension. Sean I realize there's potential confusion for the new user but sass_

[Radiant] Re: Re: Summer Reboot - Documentation Update

2008-08-29 Thread David Piehler
Mohit Sindhwani wrote: > 3. I think there was a mention once about using the aggregation > extension. It would be good to just mention that. > > Oh, and we need to link to this one from the Summer Reboot page Thanks for the feedback Mohit. I've linked my article on the main Summer Reboot page a

[Radiant] Re: 0.6.9 sass_filter Extension

2008-08-29 Thread Chuck Barr
Sean Cribbs wrote: > Haml has been included in Radiant since 0.6.7. We need to remove it > from the sass_filter extension. > > Sean I realize there's potential confusion for the new user but sass_filter should come stock like textile or markdown. It may generate interest in sass. -- Pos

Re: [Radiant] Re: Summer Reboot - Documentation Update

2008-08-29 Thread Mohit Sindhwani
Hi David David Piehler wrote: Mohit -- Thanks for taking the lead on this project. You've done a great job, as has everyone who has contributed so far. Thanks for the kind words - I'm just trying to contribute in the area that I can :) I'm also happy that the community has taken this up -

[Radiant] Re: Re: Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Arik Jones
Now I see why there are emoticons. lol. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] Re: Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Christopher Dwan
It's not really our fault that you didn't properly test all your options. I'm just revealing what I've discovered in my own experiences. Sure, the timing blows. But hey, it's just code. hmmm I'm pretty sure the original comment from Nate was intended to be humorous in nature... On the s

Re: [Radiant] Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Christopher Dwan
It looks to me like Paperclipped has it's own version of Image Magick, so you don't have to install it. (please, someone correct me if I'm wrong) It's been a while, but I think I didn't bother installing Image Magick on my machine because of the headache, and here is Paperclipped creating t

[Radiant] Re: Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Arik Jones
[EMAIL PROTECTED] wrote: > On Fri, 2008-08-29 at 20:51 +0200, Arik Jones wrote: >> Paperclipped is wy easier and a little more flexible. > > > Can it exist along with page_attachments in the same project? That way I > can move things over gradually instead of redoing the entire attachment > s

Re: [Radiant] Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread [EMAIL PROTECTED]
On Fri, 2008-08-29 at 20:51 +0200, Arik Jones wrote: > Paperclipped is wy easier and a little more flexible. Can it exist along with page_attachments in the same project? That way I can move things over gradually instead of redoing the entire attachment scheme at the 10th hour (not quite 11th

[Radiant] Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread David Piehler
Arik Jones wrote: > Paperclipped is wy easier and a little more flexible. You can access > all attachments from anywhere using the radiant tags. Where as in Page > Attachments, you normally have to re-upload or remember what page a > certain asset is attached to. The interface is much cleane

Re: [Radiant] Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread [EMAIL PROTECTED]
On Fri, 2008-08-29 at 20:51 +0200, Arik Jones wrote: > Paperclipped is wy easier and a little more flexible. You can access > all attachments from anywhere using the radiant tags. Where as in Page > Attachments, you normally have to re-upload or remember what page a > certain asset is attach

[Radiant] Re: Summer Reboot - Documentation Update

2008-08-29 Thread David Piehler
Mohit -- Thanks for taking the lead on this project. You've done a great job, as has everyone who has contributed so far. I finally had the chance to sit down and start my end of the documentation. Here's my first page: http://wiki.radiantcms.org/Simple_RSS_Feeds If you have any comments on my

[Radiant] Re: Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Arik Jones
[EMAIL PROTECTED] wrote: > On Fri, 2008-08-29 at 20:40 +0200, Arik Jones wrote: >> By the way, are you using paperclipped or page attachments? > > Page Attachments. I plan on trying out paperclipped on a future project, > but on this one I stuck with what I knew (mostly). > > > ~Nate Paperclipp

Re: [Radiant] Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread [EMAIL PROTECTED]
On Fri, 2008-08-29 at 20:40 +0200, Arik Jones wrote: > By the way, are you using paperclipped or page attachments? Page Attachments. I plan on trying out paperclipped on a future project, but on this one I stuck with what I knew (mostly). ~Nate ___ Ra

[Radiant] Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Arik Jones
By the way, are you using paperclipped or page attachments? -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/l

[Radiant] Re: How can I return a list of attachments, skipping the first?

2008-08-29 Thread Arik Jones
[EMAIL PROTECTED] wrote: > The title says it all. Is there a way to use while > skipping the first result? I have a logo and a number of PDFs attached > to a page and I just want to list the PDFs. Is that possible with the > page_attachments plugin as it is? If so how? > > > Thanks, > ~Nate An

[Radiant] How can I return a list of attachments, skipping the first?

2008-08-29 Thread [EMAIL PROTECTED]
The title says it all. Is there a way to use while skipping the first result? I have a logo and a number of PDFs attached to a page and I just want to list the PDFs. Is that possible with the page_attachments plugin as it is? If so how? Thanks, ~Nate

[Radiant] Packt publishing CMS awards

2008-08-29 Thread Mitch Pirtle
Hi folks, Was wondering why Radiant wasn't among the five finalists for non-PHP CMS category, and thought maybe nobody but me was nominating it. Here's the link, would love some help ;-) http://www.packtpub.com/article/2008-open-source-cms-award-finalists-announced -- Mitch ___

[Radiant] Re: Re: Re: How to use session in tags?

2008-08-29 Thread Vincent Pérès
Hello, I overrided the process_page as you advised me, and tried to recover the current_user by tag.locals.page. Finally I get the follwing error : Error : 'tag : wrong number of arguments (0 to 1)' Here : module MembersTags include Radiant::Taggable current_user = tag.locals.page.curren

Re: [Radiant] 0.6.9 sass_filter Extension

2008-08-29 Thread Sean Cribbs
Haml has been included in Radiant since 0.6.7. We need to remove it from the sass_filter extension. Sean Chuck Barr wrote: In order to use the sass_filter extension with 0.6.9 master I had to add this file: .../vendor/plugins/haml/lib/haml/util.rb (http://dev.radiantcms.org/browser/trunk/ext

[Radiant] Re: TinyMCE ? FCKeditor ? .... what's UP ???

2008-08-29 Thread Bartee Lamar
Casper, Thanks for excellent post. I was leaning towards TinyMCE since my experience with FCK has been difficult at best. I will grab your setting and give it a try this weekend. ...bartee... -- Posted via http://www.ruby-forum.com/. ___ Radiant ma

Re: [Radiant] Performing Radius tag evaluation as HTML attribute value?

2008-08-29 Thread Hamish Rickerby
I can confirm that this does work - I do exactly the same thing within a snippet with some a custom extension I've created. Visit 's website H. On 29/8/2008, "Andrew Neil" <[EMAIL PROTECTED]> wrote: >I wrote up this very issue just yesterday for the Summer Reboot. It is the >final section on th

Re: [Radiant] Performing Radius tag evaluation as HTML attribute value?

2008-08-29 Thread Andrew Neil
I wrote up this very issue just yesterday for the Summer Reboot. It is the final section on this page here: http://wiki.radiantcms.org/Using_the_built-in_tags The answer is that Radius cannot parse "tags-within-tags". Not even when the > outer tag is a standard HTML tag, and not a Radius tag. A

Re: [Radiant] Performing Radius tag evaluation as HTML attribute value?

2008-08-29 Thread Casper Fabricius
Hi Tony, I run into this issue all the time, and I asked the question on the list myself a while ago. The answer is that Radius cannot parse "tags-within-tags". Not even when the outer tag is a standard HTML tag, and not a Radius tag. I usually end up writing custom tags in cases like thi

Re: [Radiant] TinyMCE ? FCKeditor ? .... what's UP ???

2008-08-29 Thread Casper Fabricius
I use tinyMCE for all my Radiant websites. I use the version available at http://radiant-tinymce-extension.googlecode.com/svn/trunk/tinymce_filter/ . I use my owb version of tiny_mce_settings.js, modified to work with newer versions of Radiant and the Page attachements extension (override

[Radiant] Performing Radius tag evaluation as HTML attribute value?

2008-08-29 Thread Tony Spataro
Hello all, Sorry if this is a newbie-ish question; I've checked the FAQ and skimmed the source a bit, and haven't found any obvious solution. I'm in a position where I want to evaluate a Radius tag and insert the resulting text into the value of an HTML attribute. My use case involves the page_at