Evan Simpson wrote:
Andrew Kenneth Milton wrote:
Why not set a top level property that has the http://hostname/basefolder location in it.
All your URLS would become
<a href="<dtml-var BASELOCATION>/relativefolder">Blah</a>
Alternatively, you can use the built-in &dtml-BASE1;, &dtml-BASE2;, or whatever works for your arrangement instead of an explicitly managed BASELOCATION.
I have used this approach. It was particularly useful for a site that needed to be visible as two separate URLs. ie: <a href="&dtml-BASE1;/relativefolder">Blah</a> would get rendered as <a href="http://www.somesite.com/relativefolder">Blah</a> or <a href="http://www.someothersite.com/relativefolder">Blah</a> depending on which URL had been accessed. HTH, Michael Bernstein.