[Zope] assignment in DTML
Geir B Hansen
geirh@funcom.com
Thu, 9 Dec 1999 09:31:52 +0100
> <dtml-if "Size='big'">...
>
> Double quotes need to surround expressions.
>
>
.. and also you need to let the 'let'-tag surround the pieces where
you'd like Size to be 'big' .. In your original code, you closed it
before the if-tags..
try this :
<dtml-let "Size='big'">
<dtml-if "Size=='big'"><h1></dtml-if>
Hello.
<dtml-if "Size=='big'"></h1></dtml-if>
</dtml-let>
------------------------------------------------
Geir B Hansen
geirh@funcom.com
Web-designer / Graphic artist
Funcom Oslo
http://www.funcom.com
------------------------------------------------