[Zope] Calling colorz with variables

Oliver Bleutgen myzope@gmx.net
Fri, 29 Nov 2002 11:36:49 +0100


Tino Wildenhain wrote:
> Hi Harald,
> 
> "colorz", also called "colors" or "colours" ;)
> are like any other tag attribute. Nothing special.
> Like <a href="&dtml-var-blahfasel;">
> is <body bgcolor="&dtml-var-mycolor;">
> Or, if you like the full uglyness of DTML,
> you can write <body bgcolor="<dtml-var mycolor>">
> 
> But you should not use DTML anyway. Proper syntax
> would be:
> 
> <p tal:attributes="class here/paragraphclass1">
> 
> or such like. (Using CSS of course)
> 
> What are you actually trying to do? Alternating colors
> in a table?

I'm guessing he's trying to use that gem:
http://www.zope.org/Members/maxm/productList/colorz

Not that I could offer any help, just had the suspicion that this 
information might prevent some confusion on your side. ;)

cheers,
oliver