[Zope] MetaData?
kamon ayeva
kayeva@hotmail.com
Fri, 08 Sep 2000 12:34:13 GMT
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 <chrisw@nipltd.com>
>To: kamon ayeva <kayeva@hotmail.com>
>CC: zope@zope.org
>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.