[Zope] dtml tree

Shahzad Saleem shahzad@saleem01.freeserve.co.uk
Thu, 29 Mar 2001 00:06:43 +0100


Thanks.  This may be helpful

At the moment my Zope terminology is not very good (still learning) however
I'll explain what I'm trying to achieve... I'm developing a help system for
a site I have already developed, it has a hiearchical nature which I
replicated using Folders.  Within the folders I've stored the help contents
(text) in DTML Documents.

When I use the tree tag to display all folders and DTML Documents I would
like to display the text stored in the DTML Documents rather than just it
ID - this is what I'm having difficulty doing.

I would be grateful for any suggestions

-----Original Message-----
From: Dieter Maurer [mailto:dieter@handshake.de]
Sent: 27 March 2001 10:23 PM
To: Shahzad Saleem
Cc: zope@zope.org
Subject: Re: [Zope] dtml tree


Shahzad Saleem writes:
 > Whats the best way to display the contents of of DTML Documents within a
 > dtml tree??
The "tree" command is for the interactive display
of hierarchical information.

Does your DTML Document contain such hierarchical information?

  Then, you will need a corresponding "branches" or "branches_expr"
  attribute.

Or do you want to display the content of leaf (!) DTML
documents?

  Then, you will need a "leaves" (or so) attribute.


Take a look at

  URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html

to find out more.



Dieter