[Zope] Extra folder with ZCatalog

Kevin Dangoor kid@kendermedia.com
Thu, 26 Aug 1999 13:49:52 -0400


-----Original Message-----
From: Arnaud Lecat <lecat@hexanet.fr>
To: ZOPE <zope@zope.org>
Date: Thursday, August 26, 1999 1:11 PM
Subject: [Zope] Extra folder with ZCatalog


>When I search i make links like this <a href="<!--#var
>"catalog.getpath(data_record_id_)"-->"><!--#var title--></a>
>
>The problem is that the link includes the '/search/' folder... I don't
>want it to appear in the
>link because of other methods....

You may try putting a "/" in front of the getpath call, like so:
<a href="/<!--#var "catalog.getpath(data_record_id_)"-->"><!--#var
title--></a>

Kevin