[Zope] changing standard colours

Michael Bernstein mbernstein@profitscape.net
Tue, 07 Sep 1999 13:42:43 -0700


Robin Becker wrote:
> 
> My almost finished site uses a standard colour scheme throughout. As
> part of the change to using dynamic .png images rather than .gifs I
> found that neither IE or Netscape seem to implement png transparency
> (alpha channel) correctly. I therefore needed to access the background
> colour of my pages. I found no obvious method of getting this. I
> implemented a standard_color dtml-method and modified the
> standard_header method to use it. It occurred to me that this could be
> more generally useful.
> 
> Anyone implemented a better scheme, perhaps using TinyTable or is there
> some magical way to do this sort of thing.

Squishdot uses a properties tab with a bunch of entries for colors. Generalizing
from that, it would seem that adding some string properties to your root folder
containing color values would give you global control over page colors, and
still let you overide them as neccesary.

Michael Bernstein.