[Zope] Using a tree in the header?
Guy Davis
davis@arc.ab.ca
Mon, 10 Jan 2000 17:03:29 -0700
I would like to use the dtml-tree to allow users to puruse the object
hierarchy (DTML Docs and Folders) starting from the root folder (/). I
would like it displayed in the left hand column of a table that I set up
in the standard_header.
This is the closest I got:
<dtml-tree branches_expr="objectValues(['Folder', 'DTML Document'])"
nowrap=1 sort=id>
<IMG SRC="<dtml-var icon>" ALIGN="TOP" BORDER="0" width=16 height=16>
<A HREF="http://caldhcp082/<dtml-var tree-item-url>?<dtml-if
tree-s>tree-s=<dtml-var tree-s></dtml-if><dtml-if
tree-e>&tree-e=<dtml-var tree-e></dtml-if><dtml-if
tree-c>&tree-c=<dtml-var tree-c></dtml-if>"<dtml-var id></a>
</dtml-tree>
However, I don't know what 'name' to use in the dtml-tree tag. What is
the object id for the root folder? ( '/' ?) I would like to
functionality of the /manage screens, in terms of file browsing, without
the use of frames. Is this possible? I'd love to see a working
example. Thanks.
--
Guy Davis mailto:davis@arc.ab.ca
(403) 210-5334 Alberta Research Council