I am trying to follow along with the zcatalog tutorial, but when I get to the 
instructions where you can make your zope object results links to the 
actual object the following instructions are used:
In the source of report, find the following line::
            <tr><!--#var title--></tr>

Replace it with this:
            <tr>
             <a href="<!--#var 
"catalog.getpath(data_record_id_)"-->">
              <!--#var title-->
             </a>
            </tr>
In making this change however, my search results gets broken with the 
following error:
Error Type: NameError
Error Value: catalog
Any ideas why?  Has the syntax changed?
My exact replacement is:
<a href="<!--#var "catalog.getpath(data_record_id_)"-->"> <!--#var 
title--> </a>

        

_______________________________________________
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