17 Oct
2002
17 Oct
'02
11:45 a.m.
Sven Rudolph wrote:
Hello Michael,
How to you make the results of a search from zcatalog link to the file that it refers to?
<dtml-in MYZCATALOG> <a href="<dtml-var "absolute_url(1)">"><dtml-var title_or_id></a><br> </dtml-in>
that does not work if you haven't stored the metadata for absolute_url and title in your ZCatalog...;-) a better approach would be: put the current object from the ZCatalog on the namespace: <dtml-with "getobject(data_record_id_)"> <a href="<dtml-var absolute_url>"><dtml-var title_or_id></a><br> </dtml-with> cheers, maik -- Maik Jablonski __o www.zfl.uni-bielefeld.de _ \<_ Deutsche Zope User Group Bielefeld, Germany (_)/(_) www.dzug.org