Hi Tom,
 > But not with:
 > <dtml-if "date1 == '<dtml-var ZopeTime fmt=Day>'">
 > (and yes, the day I'm doing it on is Tuesday).
Usually, DTML-tags cannot be nested.
Exceptions: tags in compound tags such as "if, in, let, with, ...".
In your case, the "dtml-var" is simply not recognized
and treated as a string rather than expanded.

I assume (though I am not sure), that "ZopeTime" is a "DateTime"
object. In this case, you could use:
   <dtml-if "date1 == ZopeTime.Day()">


Dieter

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to