[Zope] zcatalog: truncating getpath(data_record_id_)?
Anthony Monta
amonta@regents.state.la.us
Fri, 20 Jun 2003 15:24:59 -0500
Hi
I have my Zope return a list of URLS from a ZCatalog in this out-of-the-box
way:
<a href="<dtml-var "Catalog.getpath(data_record_id_)">"><dtml-var id></a>
The objects in this particular Catalog are all subclassed objects of a
certain zclass. When users click on the above links, they see metadata
results.
I want to change this. Instead, I want users to see the default view of
the subclassed object's container.
Should I be trying to figure out how to truncate the results of
getpath(data_record_id_)?
How do I do this? Any help would be greatly appreciated.
Cheers,
Anthony