-----Original Message----- From: Arnaud Lecat <lecat@hexanet.fr> To: ZOPE <zope@zope.org> Date: Friday, September 03, 1999 6:44 AM Subject: [Zope] ZCatalog
<a href="<!--#var "catalog.getpath(data_record_id_)"-->"><!--#var title--></a>
Ex: I have a resource located at myweb:8080/services/ , when I search and find it with ZCatalog the link which is returned with the code above is http://firecopper:8080/search/services/ which works of course but can be very disappointing for users. How do I remove the /search reference in the returned link ? I only want the response of the search to be myweb:8080/services/
Since your Catalog object is probably at your Zope root, I think you want: <a href="/<!--#var "catalog.getpath(data_record_id_)"-->"><!--#var title--></a> ^^^ note the slash Kevin
participants (1)
-
Kevin Dangoor