[Zope] excluding objects with a certain title from tree
Dieter Maurer
dieter@handshake.de
Wed, 12 Sep 2001 22:38:19 +0200 (CEST)
Meilicke, Scott writes:
> I've been banging my fingers for hours. Using the tree tag, I'm trying to
> find a way to display folders, and exlude folders with a certain id.
>
> Here's what I have so far.
>
> Calling the tree:
> <dtml-tree portal branches="<dtml-var left_tree_nodes>">
"branches" expects the name of a method as attribute value.
It uses this value as a literal name, no evaluation whatsoever.
You give it "<dtml-var left_tree_nodes>", which does not
exist, of course.
Depending of what your "left_tree_nodes" is/does,
branches=left_tree_nodes
may solve your problem.
Dieter