[Zope] addtional property in dtml-tree?
Tim Cook
tim@freepm.org
Fri, 11 May 2001 08:33:26 -0500
Klaus Herrmann wrote:
>
> Hi!
>
> I have the following problem:
> i have a dtml-tree listing the directory structure. but i want to be able to
> define a property called "hidden" (bool) on folders. these hidden folders
> mustn't appear in the tree. any ideas how this could be done?
>
> thank in advance!
UNTESTED, stab at it:
<dtml-tree branches_expr="objectValues(['Folder']) AND NOT
is_hidden">
HTH,
--
Tim Cook, President - FreePM,Inc.
http://www.FreePM.com Office: (731) 884-4126
ONLINE DEMO: http://www.freepm.org:8080/FreePM