On Sep 19, 2006, at 11:22 PM, John W. Long wrote:
> Mislav Marohnić wrote:
>> I have Radiant installed in a subdirectory, not the site root. I
>> have set
>> AbstractRequest.relative_url_root accordingly, which makes admin
>> section
>> work. Surprisingly, links generated by Radius tags on the site
>> itself start
>> from root ("/") and don't get relative_url_root prepended to
>> them... is
>> having the application in a subdirectory unsupported?
>
> There's no support for this out of the box, but you could create a
> behavior and assign it to the site root that would probably do what
> you
> need. Something like this:
<snip>
Or if you want the really easy way out, you could create a parent
page for your radiant root page and give it the same slug as the
radiant directory.
eg for http://my.site/cms
go from:
- Home (/home)
|-- About (/home/about)
...
etc...
to:
- Subdir (/cms)
|- Home (/cms/home)
|-- About (/cms/home/about)
But I recommend John's suggestion!
Bodhi
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant