YES!!
Greate!
Thank you Evan!
Rgs,
Kent Sin
----------------------------------------------
Do we need long term solution in web?
--- Original Message -----
From: "Evan Simpson" <[EMAIL PROTECTED]>
To: "Sin Hang Kin" <[EMAIL PROTECTED]>; "Zope Admin list" <[EMAIL PROTECTED]>
Sent: Monday, May 22, 2000 12:31 AM
Subject: Re: [Zope] detect root.
> ----- Original Message -----
> From: Sin Hang Kin <[EMAIL PROTECTED]>
> > 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
>
>
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
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 )