I'm setting up a multi-tenant site. I want to have some shared content, which I'm placing in a container page outside of all the start pages.
I also want to be able to link to things like the login page for the current site from the shared content within an XhtmlString property.
However, when I enter relative paths into the "external link" option for a page that exists on the site I'm editing from, episerver resolves the link to the content and I get a content reference link to the site I'm editing from instead of a realtive path.
Is there any way to defeat this and allow relative links to remain. Or and event I can listen to or provider I can override that will allow me to rewrite and domain when the link is rendered?
what I want:
what I get:
I'm setting up a multi-tenant site. I want to have some shared content, which I'm placing in a container page outside of all the start pages.
I also want to be able to link to things like the login page for the current site from the shared content within an XhtmlString property.
However, when I enter relative paths into the "external link" option for a page that exists on the site I'm editing from, episerver resolves the link to the content and I get a content reference link to the site I'm editing from instead of a realtive path.
Is there any way to defeat this and allow relative links to remain. Or and event I can listen to or provider I can override that will allow me to rewrite and domain when the link is rendered?