[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Zope] Relative url query
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@xxxxxxxxxx funcom oslo | webdev-team
_______________________________________________
Zope maillist - Zope@xxxxxxxx
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )
This mailing list archive is a service of Copilotco.