The python expression syntax strikes again :(

Tom Scheidt wrote:
> <dtml-if "date1 == '<dtml-var ZopeTime fmt=Day>'">

You're trying to embed DTML within python here.

you really want (untested):

<dtml-if "date1 == _DateTime.now().Day()">

cheers,

Chris

_______________________________________________
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