[Radiant] How to use current_user in tags

2008-10-21 Thread Vincent Pérès
Hello, I need to use the current_user in Radius tags. In fact it is working on my computer which is running with MAC OS (and previously on my Windows environment), but not on my friend computer which is on Windows. Well, what I have done : 1. create an accessor attribut 'current_user' on page

Re: [Radiant] How to use current_user in tags

2008-10-21 Thread Sean Cribbs
Vincent Pérès wrote: Hello, I need to use the current_user in Radius tags. In fact it is working on my computer which is running with MAC OS (and previously on my Windows environment), but not on my friend computer which is on Windows. Well, what I have done : 1. create an accessor attribut

[Radiant] Re: How to use current_user in tags

2008-10-21 Thread Vincent Pérès
Hello Sean, I didn't enabled session, I created a new page type which is not using cache. In fact, the problem is on site_controller level, when I'm giving the current user to my current page : @page.current_user = current_user On my computer 'current_user' exist, but the var is nil on the

[Radiant] Re: HAML

2008-10-21 Thread Sean Cribbs
Martin Streicher wrote: Is there a way to author pages in HAML and SaSS in the non-admin sections of a Radiant site? Martin (Including the mailing-list in this discussion.) What do you mean by non-admin? If you mean regular Radiant pages, there is not currently the ability to use Haml.

[SOLVED] Re: [Radiant] Paperclipped + flash video files.

2008-10-21 Thread Jeffrey Jones
Finally figured out what it was. My version of Firefox (Firefox on Kubuntu linux) didn't know the video/x-flv mime-type so when it uploaded the file it was setting the content type as application/octet-stream. It appears paperclipped uses the browser mime-type to determine if the file is

Re: [SOLVED] Re: [Radiant] Paperclipped + flash video files.

2008-10-21 Thread justin blecher
jeff, it's been my experience that the browser cannot be trusted for sending the correct mime type upon upload. firefox (all platforms) has been a particularly bad offender, and i know that IE does some funny stuff, too. (i can't believe it's 2008 and this basic functionality is still broken! on

Re: [SOLVED] Re: [Radiant] Paperclipped + flash video files.

2008-10-21 Thread Andrew Neil
I'm very interested to hear of your experience with MIME types and browsers. I've just written an audio_player extension[1], which uses paperclip to deal with attaching audio files. The flash player that I'm using can only play mp3s, so I want to limit the MIME type to that format. I've

Re: [Radiant] parameterized_snippets extension

2008-10-21 Thread Manuel Meurer
Fixed, thanks for testing. Please grab a fresh copy from http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/ Manuel On Tue, Oct 21, 2008 at 12:10 PM, Simon Josi [EMAIL PROTECTED] wrote: I've got a case where parameters to snippets are not availabe. It occurs when I call a

[Radiant] if_dev dev.host functionality with multi_site extension

2008-10-21 Thread Bill Barnard
I'm working on a pair of sites using the multi_site extension. Is there a way to specify a dev host for each of the multi sites so the page authors can view them in Draft mode? Thanks, Bill ___ Radiant mailing list Post: Radiant@radiantcms.org Search:

Re: [Radiant] Comments Extension

2008-10-21 Thread Mohit Sindhwani
Hi Everyone Any ideas? Cheers, Mohit. Mohit Sindhwani wrote: I'm just starting to use the comments extension and I followed the instructions that ere there in messages here and there and it works fine. (I'm going to compile it for Summer Reboot soon). There is just one thing that comes

Re: [Radiant] Comments Extension

2008-10-21 Thread Mohit Sindhwani
Hi Sean Sean Cribbs wrote: Mohit, My apologies for not responding sooner. The apology is not needed at all :) This is something I'd like to address sooner rather than later, and do it in a way that is similar to what I did to the mailer extension -- supporting post-backs to the page