[Zope] Changing tree icon colors

Tony.McDonald@newcastle.ac.uk Tony.McDonald@newcastle.ac.uk
Tue, 6 Jul 1999 23:34:18 +0100 (BST)


> 
> On Tue, 6 Jul 1999, Martijn Pieters wrote:
> 
> > At 23:56 05/07/99 , Jeff Clement wrote:
> > >My site uses the chocolate style sheet from w3.org and as such is fairly 
> > >dark.  I was wondering if
> > >there is a way to force the + and - symbols on trees to be a different 
> > >color (ie. white)
> > 
> > Nope, you can't. We're stuck with the default GIF images.
> > 
> > I have seen in the source of the #tree tag, the beginnings of code to allow 
> > specification of URLs of your own images to replace the defaults. You could 
> > always finish that off, and supply a patch of course =).
> 
> Martijn, I'd like to see that patch... I've been thinking about doing just
> this thing. I created a myTree product just to change the icons, which
> seems silly. I'd rather have the original treetag do this. 
> 
> John Eikenberry

I don't want to be a PITA - but, me too. I implemented an SQL-based dynamic tree tag DTML instance based on the 'good stuff' from Phillip Eby et al - one of my users found the totally unreleased 'beta' site where I had it running and (after saying how cool it was) then reeled off a list of cosmetic changes that he wanted doing (open & closed book icons, differently emphasised text for the 'active' leaf etc.) sheesh! ...users.

And before anyone says 'you do it' - I can't...yet. I'm not revved up enough on Python methods etc. to do it yet, but considering I'm basing our 3-year project on Zope, as they used to say in 'StingRay' "anything can happen in the next half hour!"
tone.
ps our site is http://nle.ncl.ac.uk/ - navigate to the demo area and click on the 'database driven' section to see the SQL menu stuff in action.