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

2008-08-27 Thread Vincent Pérès
Hello, The javascript way was my last solution. It could be interessant... Christopher Dwan, I don't follow what you mean by create ovveriding a method to add the current_user? Is there an other way to access to the current_user var when I'm creating radius tags? Thanks a lot ! Vincent --

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

2008-08-27 Thread Christopher Dwan
Vincent, You have to get SiteController to pass the info into your model, that's the only way to get the data into a tag AFAIK. So you have to write an extension for SiteController that adds the function of passing the current_user's info into your model (e.g. pass in the user_id). Then

[Radiant] new extension: Sibling Tags

2008-08-27 Thread Andrew Neil
Announcing a new extension for Radiant: Sibling tags. This provides tags allowing you to refer to the neighbouring siblings of a page. An example usage: r:siblings r:previousPrevious article: r:link//r:previous r:nextNext article: r:link//r:next /r:siblings I've added it to the

[Radiant] Can extensions use it's own assets as is?

2008-08-27 Thread Arik Jones
I was wondering if Radiant extensions are able utilize their own assets without moving them to the public directory of your Radiant instance. I think it would be great if you could. -- Posted via http://www.ruby-forum.com/. ___ Radiant mailing list

[Radiant] Re: Can extensions use it's own assets as is?

2008-08-27 Thread Arik Jones
Sean Cribbs wrote: I agree, but unfortunately that's something that is entirely dependent on the deployment scenario and would require web-server configuration, or symlinking. It's just easier to copy them. Sean Reason I ask is because I store my extensions outside of my Radiant instance.