[Zope] modifying dtml-tree

Paul Williams paul@maximpact.net
Wed, 30 Jul 2003 05:04:17 -0400 (EDT)


Hi all,

I am currently building an application for managing and tracking assets. 
As part of this I am using a dtml-tree based menu system.

All of the functionality is within subfolders, ordered by area of 
activity.

Eg:

app / 

    search /

           by dept
  
           by asset type
 
           by location

    modify /

           add asset

           add type

           ...


All of the above listed are folders.

when I use a dtml-tree, the expand + icons allow one to expand the menu, 
but clicking on the folder associated (ie search) takes you to the search 
folder. Since this contains nothing but folders I want it to behave like 
the + or - icons.

I seem to remember reading somewhere that someone had done this, but a 
reacent search via google, the zope site, etc has turned up a blank. I 
found the original link by accident and I have forgotten what I was 
looking for at the time so I cannot replicate this search.

Has anyone seen something similar, or would anyone have any pointers if I 
need to modify the TreeTag.py source file. I would quite like to do the 
latter, but it is rather daunting for a first hack :-)

Any help or pointers appreciated

Paul