replacing the plus and minus icons in trees
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. thanks!
On Sun, 15 Aug 1999, 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.
As I don't have my Zope machine here I cannot give you a precise answer. However, in general, p_ refers to the www directory within the product. Hence, the pl & mi will be within a WWW under lib/python/App or some such place as plain gif files. Cheers, Anthony Pfrunder
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. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
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
participants (4)
-
Andreas Kostyrka -
Anthony Pfrunder -
Jamie Becker -
Martijn Pieters