I have been having issue converting this code in DTML to ZPT.

<dtml-in "news.zCatNewsCurrent()">
<dtml-let article=absolute_url>
<dtml-if expr="_.int(article[46:48]) < 5">
            <div> <a href="<dtml-var expr="article[0:48]">" class="link3">
                 <dtml-var title>
                 
  </a><dtml-var author> <br>
     
            <font class="text1"> <dtml-var summary> </font> &nbsp; 
                  <a href="<dtml-var expr="article[:48]">" class="link5"> 
                   details
                  </a>  
             <br><br>   
              </div>

</dtml-if>
</dtml-let>
</dtml-in>

Can somebody help to jump start me by converting this code to ZPT for me?

I will be most grateful.

Thanks.
Kamal
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to