Dear all, I know I can get the absolute url reference to an object as in: <link HREF="<dtml-var "knightnet_css.absolute_url()">" rel="stylesheet" type="text/css"> But how to I get a RELATIVE referance? Sorry if this is an obvious question but I've just started on Zope & Python so its all a little confusing! -- Julian Knight, Senior Consultant WRDC Ltd, Leeds, UK. +44 (0) 113 245 4788 http://www.wrdc.com
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
participants (2)
-
Geir Bækholt -
Julian Knight