21 May
2000
21 May
'00
5:15 p.m.
YES!! Greate! Thank you Evan! Rgs, Kent Sin ---------------------------------------------- Do we need long term solution in web? --- Original Message ----- From: "Evan Simpson" <evan@4-am.com> To: "Sin Hang Kin" <kentsin@poboxes.com>; "Zope Admin list" <zope@zope.org> Sent: Monday, May 22, 2000 12:31 AM Subject: Re: [Zope] detect root.
----- Original Message ----- From: Sin Hang Kin <kentsin@poboxes.com>
How can I detect the root with or without siteroot?
<dtml-in PARENTS> <dtml-if expr="absolute_url(relative=1) == ''"> <dtml-var objectIds> </dtml-if> </dtml-in>
Will show you the contents of both the site "root" and the ZODB root folder, if the Path of your SiteRoot is '/'.
Cheers,
Evan @ digicool & 4-am