[Zope] Map site

Michael R. Bernstein webmaven@lvcm.com
Mon, 02 Apr 2001 13:42:11 -0700


After Dark wrote:
> 
> Hi, folks!
> 
> How can I map my site? I did <dtml-in "PARENTS[-1]">, but it
> only worked for the first level then...

<dtml-with "PARENTS[-1]">
 <dtml-tree branches_expr="objectValues('Folder')">
  &dtml-title_or_id;
 </dtml-tree>
</dtml-with>

Or:

<dtml-tree expr="PARENTS[-1]"
branches_expr="objectValues('Folder')">
&dtml-title_or_id;
</dtml-tree>

You can find more expansive(though old) versions of this
here:
http://classic.zope.org:8080/Documentation/HowTo/DTML/treetag

and here:
http://lists.zope.org/pipermail/zope/1999-February/086031.html

HTH,

Michael Bernstein