[Zope] Calling colorz with variables

maxm maxm@mxm.dk
Fri, 29 Nov 2002 12:43:53 +0100


Harald Winkelmann wrote:
 > Hi Mr. Colorz,
 >
 > I'm just trying to call colorz with variable input.
 > I want to use the colorscheme with different colors in one dtml-tag.
 > What is the syntax.

Ok ... I understand what you are trying to do, and it is pretty trivial 
to add a method to the next version that can be called like::

     <dtml-var "colorz.getcolor('main', 100, 90)">

Would that suffice?


regards Mr Max Mr Colorz ;-)