[Zope] replacing the plus and minus icons in trees

Michel Pelletier michel@digicool.com
Mon, 16 Aug 1999 09:23:07 -0400


> -----Original Message-----
> From: Andreas Kostyrka [mailto:andreas@mtg.co.at]
> Sent: Monday, August 16, 1999 7:08 AM
> To: Martijn Pieters
> Cc: jamiebecker@symetix.com; zope@zope.org
> Subject: Re: [Zope] replacing the plus and minus icons in trees
> 
> 
> 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. 

Hmm.  I thought it did <quick check> uhm.  Nope guess not.  The problem
here is that 2.0 is in a feature freeze.  We will however, put it in the
next release.  Sorry about missing your patch, can you make sure it's in
the collector or just repost it anyway?

> 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.

I think this would require some redesign at the python level.  Feel free
to hack at it.

> 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.
> 

Can you explain this further?  Sounds like a bug.

-Michel

> 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        
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>