[Zope-CMF] tree view for a set of CMFTopics

Lucas Hofman lucas.hofman@pgs.com
Thu, 15 Nov 2001 14:05:14 +0100


Has anybody written a skin/method to display a hierarchy of CMFTopics tlike this:

- topic1 (130)        + subtopic1 (13)
                subtopic2 (2)
                + subtopic3 (79)
                + subtopic4 (80)
+ topic2 (200)
+ topic3 (23)

where the numbers between  the brackets are the number of occurences. 
Clicking on those should gives the list of items the topic matches.
Clicking on the minus or plus sign should contract or expand the topic. i.e. 
clicking on the plus sign for subtopic 3 should result in something like:

- topic1 (130)        - subtopic3 (79) + subsubtopic1 (40)
                                + subsubtopic2 (50) 
                + subtopic1 (13)
                + subtopic2 (2)
                + subtopic4 (80)

The idea is that a reader can quikly browse down, sideways or up in topic 
hierachy. When the numbers between brackets get low enough, he/she can choose 
to view the list of items.

-- 
Regards,

Lucas Hofman
PGS Research                                    work: +47 67514059
PO Box 354                                       fax: +47 67526640
N-1326 Lysaker, Norway                          home: +47 67581373