21 May
2000
21 May
'00
6:07 a.m.
Hello, I ask about how to detect root in the list and Got three answer: <dtml-if "_.len(PARENTS) == 1"> We're at the root folder <dtml-else> You can go up from here </dtml-if> <dtml-if "title == 'Zope'"> Title is Zope <dtml-else> No title not zope </dtml-if> <dtml-if "id == ''"> root folder have not identity <dtml-else> there is id </dtml-if> However, all of them fail working in virtual web with siteroot set. How can I detect the root with or without siteroot? Rgs, Kent Sin --------------------------------- kentsin.weblogs.com kentsin.imeme.net