[Zope] dtml-comment?
Dan Rusch
Dan.Rusch@zyquest.com
Tue, 2 Apr 2002 11:16:14 -0600
I have been away from Zope for about a year or so. I used to be able to
comment out blocks of code with:
<dtml-comment> code to commented out </dtml-comment>
this doesn't work in the code below?
<dtml-comment>
<h2>Sibling Links</h2>
<div tal:define="siblings here/siblings.py">
<ul tal:condition="siblings">
<li tal:repeat="folder siblings">
<a href="folder"
tal:attributes="href folder/absolute_url"
tal:content="folder/getId">folder id</a>
</li>
</ul>
<p tal:condition="not:siblings"><b>There are no courses scheduled at
this time.</b></p>
</div>
</dtml-comment>
The code between the comment open and end tags is still displayed, what am I
doing wrong?
Zope Version (Zope 2.5.0 (binary release, python 2.1, linux2-x86), python
2.1.2, linux2)
Python Version 2.1.2 (#1, Jan 25 2002, 13:17:56) [GCC 2.7.2.3]
System Platform linux2
Thanks,
DR