[Zope] catalog.getpath --search results as links

2000-07-12 Thread sean
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

Re: [Zope] catalog.getpath --search results as links

2000-07-12 Thread Chris Withers
[EMAIL PROTECTED] wrote: Replace it with this: tr a href="!--#var "catalog.getpath(data_record_id_)"--" !--#var title-- /a /tr What is the id of your catalog object? replace 'catalog' with that id. I'm guessing you should

Re: [Zope] catalog.getpath --search results as links

2000-07-12 Thread sean
On 12 Jul 2000, at 23:35, Chris Withers wrote: [EMAIL PROTECTED] wrote: Replace it with this: tr a href="!--#var "catalog.getpath(data_record_id_)"--" !--#var title-- /a /tr What is the id of your catalog object?

Re: [Zope] catalog.getpath --search results as links

2000-07-12 Thread Chris Withers
[EMAIL PROTECTED] wrote: my catalog ID is full_site, but I already tried this and got another error. What was this error? (please include the full traceback..) When I leave out the link syntax changes, I get the search results (w/o them as active links)...so the catalog term must be

Re: [Zope] catalog.getpath --search results as links

2000-07-12 Thread sean
Here is the traceback after changing the DTML VAR syntax and changing the catalog.getpath to full_site.getpath (my catalog ID) Error: Error Type: KeyError Error Value: PrincipiaSearchSource Traceback (innermost last): File