[Zope] catalog.getpath -->search results as links
sean@horse101.com
sean@horse101.com
Wed, 12 Jul 2000 15:31:15 -0700
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>