Try <dtml-tree "_[fold]" branches_expr="objectValues(['Folder', 'File'])"> And incase the folders don't have a title, maybe you should use <dtml-var title_or_id> instead of <dtml-var title> And probably should html quote just to stay in the habit ;) <dtml-var title_or_id html_quote> or &dtml-title_or_id; michael.taag wrote:
Hi!
how come this doesn't work
i pass this the variable fold with the url
"http://www.somelink.com/treeview.html?fold=month"
. . . <dtml-tree fold branches_expr="objectValues(['Folder', 'File'])"> <dtml-if "meta_type=='Folder'"> <IMG SRC="<dtml-var icon>" BORDER=0> <dtml-var title> <dtml-else> <A HREF="<dtml-var tree-item-url>" target="_blank"><IMG SRC="<dtml-var icon>" BORDER=0> <dtml-var id></A> </dtml-if> </p> </dtml-tree>
__________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )