[Radiant] Virtual-domain behaviour

2006-07-25 Thread bodhi
Hi All, I'm just throwing together a virtual domain behaviour, eg map dir.example.com internally to example.com/dir/. I got a prototype working, but when adding the code to select a child page based on the host name I ran into a problem: I can't see an easy way to get at the request object.

Re: [Radiant] Virtual-domain behaviour

2006-07-25 Thread bodhi
On 25/07/2006, at 7:08 PM, bodhi wrote: Another approach would be to make attr_accessor()s on behaviours and fill them in after we get the parent page's behaviour. Of course, as soon as I sent this email, I scrolled up and noticed that the accessors were already there (@_@) Bodhi

Re: [Radiant] Radiant Hooks

2006-07-25 Thread Josh Ferguson
I've already come up with a system to do this but dropped it because of it's complexity. I can send you code that makes it possible if you want along with the hooks I had already put in. Josh Ryan Platte wrote: On 7/24/06, *Scott Walter* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

Re: [Radiant] Radiant Hooks

2006-07-25 Thread Scott Walter
Could you post it to a website or create a diff patch? I would like to see what you attempted. I'm curious about it's complexities.scott.What's an Intel chip doing in a Mac? A whole lor more that

Re: [Radiant] Page Parts as Attachments, Tags, Images, Events, etc.

2006-07-25 Thread dror tirosh
thanksOn 7/24/06, bodhi [EMAIL PROTECTED] wrote: On 25/07/2006, at 6:03 AM, dror tirosh wrote: Hi, I attach two files, that fix a bug of page_parts not being erased, when deleted. I was trying to minimize the changes to the page_controller.rb file, but I ended up not testing it before sending the

Re: [Radiant] Dynamic Menu

2006-07-25 Thread Jay Levitt
Jake wrote: I am new to radiant and although I really like it I am struggeling with this. I want to build a dynamic side nav am running into the following issues. ul class=blog_archive r:find url=/articles r:children:each order=desc r:unless_url matches=r:page:url/ Looks like

Re: [Radiant] Dynamic Menu

2006-07-25 Thread Jake
Jay Levitt wrote: Jake wrote: I am new to radiant and although I really like it I am struggeling with this. I want to build a dynamic side nav am running into the following issues. ul class=blog_archive r:find url=/articles r:children:each order=desc r:unless_url

Re: [Radiant] Total Newbie install question

2006-07-25 Thread John W. Long
Boris Kizelshteyn wrote: I have installed radiant on a subdomain on my shared host which is bluehost. It is here: http://radiantcms.richcollaboration.com/ I have setup the db and run setup without issue. I have read the blue host RoR info:

Re: [Radiant] Dynamic Menu

2006-07-25 Thread bodhi
On 26/07/2006, at 7:17 AM, Jake wrote: Jay Levitt wrote: Jake wrote: I am new to radiant and although I really like it I am struggeling with this. I want to build a dynamic side nav am running into the following issues. ul class=blog_archive r:find url=/articles r:children:each