[Zope] replacing the plus and minus icons in trees

Andreas Kostyrka andreas@mtg.co.at
Mon, 16 Aug 1999 13:08:11 +0200 (CEST)


On Mon, 16 Aug 1999, Martijn Pieters wrote:

> At 05:14 16/08/99 , Jamie Becker wrote:
> >How do I replace them with my own graphics? When I right click on them and
> >choose show this image in new window (in Netscape), their name is /p_/pl and
> >/p_/mi.
> 
> I wrote a patch a while ago that allows you to change the plus and minus 
> images of your tree. I am not sure wether or not I posted this to the 
> Collector, but it hasn't (yet) made it to the Zope2 distribution. What 
> version of Zope are you using? I might be able to provide you with a patch.
Well, I pray that this will make it into Zope2. Such as is, the tree tag
has three bugs:
1.) [+]/[-] war practically unusable with a dark background.
2.) tree's don't have an ``identity''. To illustrate this, I'd like to be
    able to put 2 trees on one page: One navigation tree, and one for
    a Confera topic. To do this, I'd need to name the trees.
3.) Displaying a document that needs parameter from a navigation tree is
    broken: Just press some [+] buttons, and voila the tree tag
    recreates the page, just without the needed arguments.

Andreas
--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA