Marco,

That is the proper way to generate the links. I imagine we're at the point where we might be able to better support subdirectory installations, although it hasn't been the norm. This is primarily because the code generating those URLs have no knowledge, essentially, of the relative path of the installation. Since we have access to the request from the global page, however, we should be able to generate relative URLs easily. This would be done primarily in StandardTags. I'd encourage a patch from anyone who has time to hack this out and include some solid specs.

Sean


Marco wrote:
Hi Benny,

I am using the default Radiant tags like:

<r:children:each order="desc">
  * <r:link />
</r:children:each>

This will generate the links to the pages.

I could try to create the links myself, but this is the way described in the
manual.

Is there a better way of creating URL's?

Marco
-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Namens Benny Degezelle
Verzonden: woensdag 26 maart 2008 23:22
Aan: [email protected]
Onderwerp: [Radiant] Re: RE: Using radiant on another URL (Marco)

Hi Marco,

This is not a bug, it's just that radiant doesn't know about the url prefix.
You'll have to handle this where you generate your navigation. I don't know
how you build your links, but you'll either have to make them all relative
links (not starting with /), or automatically prepend them with your prefix.

Regards,

Benny

Hello Mark,
Thanks for the response. This is a great solution, but it does not affect
the urls generated by radiant.

I can access all pages with this solution, but the URLs generated on the
site are still pointing to the root.

Is this a bug in Radiant?

Marco

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to