Thanks Jason, I'll do that.
Trying to work around it, the problem now is that I cannot get makeUrl to build an absolute link to another context. It always defaults to full.
Say I am in the /en/ context. The
base_url setting is
/en/.
My base tag looks like this:
<base href="http:/ /www.site.com/en/">
Any
absolute link on the page ends up like this:
That's fine as it will still go to
http://www.site.com/en/link.html
But if I want to output an absolute link to a page in the
/fr/ context - where base_url is set to
/fr/, this is what is output:
http:/ /www.site.com/link.html
Instead of:
I've had a dig into the core code and found that makeUrl() is hard-coded to 'full' url paths when linking to other contexts. Is there a reason for that or am I going about this the wrong way?
[ed. note: okyanet last edited this post 12 years, 6 months ago.]