[Zope] detect root folder

Morten W. Petersen morten@src.no
Sat, 20 May 2000 15:21:51 +0200 (CEST)


> <dtml-if "_.len(PARENTS) == 1">
>   We're at the root folder
> <dtml-else>
>   You can go up from here
> </dtml-if>
> 

I think the root folder has the title Zope too, so:

<dtml-if "title == 'Zope'">
	<dtml-call doo_wah_diddy>
<dtml-else>
	<dtml-call doo_wah_diddy_daaah>
</dtml-if>

-Morten (0.01$)