[Zope] Relative url query
Geir Bækholt
Geir Bækholt
Thu, 2 May 2002 23:33:26 +0200
Hello Julian,
Thursday, May 2, 2002, 6:03:58 PM, you wrote:
JK> Dear all,
JK> I know I can get the absolute url reference to an object as in:
JK> <link HREF="<dtml-var "knightnet_css.absolute_url()">"
JK> rel="stylesheet" type="text/css">
JK> But how to I get a RELATIVE referance?
absolute_url(relative=1) will get you a root-relative path (a bit
confusing, yes, as it is not really a relative path...)
might be what you need...
:-)
hth
--
Geir Bækholt web-developer
geirh@funcom.com funcom oslo | webdev-team