Here's a feature I just submitted to the collector.

It seems to me that a few tweaks to the dtml-if syntax would be beneficial

something like the following would certainly clean up some of the logic I
end up writing.

<dtml-if X>
 <a href="a_url">
<dtml-always>
 link text
<dtml-else>
 (no link currently available)
<dtml-then>
 </a>
</dtml-if>

What do people think? I've not implemented it but I wouldn't imagine its
very hard.

_______________________________________________
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