OK, checking the Advanced ZCatalog Howto, I just found I could maybe use 
something like

<dtml-in "Catalog(meta_type=['DTML Method','Document', 'Anothermetatype])">
       Method or Document or Anothermetatype:
       <dtml-var "Catalog.getpath(data_record_id_)"><br>
    </dtml-in>

to solve my problem.

Haven't yet tested, so I dunno if it's my best option.

-- Kamon


>From: Chris Withers <[EMAIL PROTECTED]>
>To: kamon ayeva <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: [Zope] MetaData?
>Date: Fri, 08 Sep 2000 13:06:50 +0100
>
>kamon ayeva wrote:
> > How can I get the id or title of (Document) instead of the url ?
>
>Aren't they in the MetaData returned by the catalog query?
>
>If they aren't, add them ;-)
>
>cheers,
>
>Chris

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to