[Zope] dtml tree
Dieter Maurer
dieter@handshake.de
Thu, 29 Mar 2001 19:13:13 +0200 (CEST)
Shahzad Saleem writes:
> 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.
Have a look at the sources of the Zope Tutorial (part of the
Zope distribution). It does precisely this.
It uses the "leaves" attribute....
Dieter