Sin Hang Kin wrote:
>
> Hi,
>
> Is it possible to detect the top folder in dtml?
>
> I means I would like to prevent squishdot to show the ../ when it is already
> in the top level.
<dtml-if "_.len(PARENTS) == 1">
We're at the root folder
<dtml-else>
You can go up from here
</dtml-if>
--
Steve Alexander
Software Engineer
Cat-Box limited
_______________________________________________
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 )