[Zope-CMF] Getting an object's Product meta type
Vladimir Iliev
vlado@vintech.bg
20 Mar 2003 17:38:56 +0200
use
<span tal:replace="here/portal_type" />
or
<span tal:replace="here/getPortalTypeName" />
or
<span tal:replace="python:here.getTypeInfo().getId()" />
On Thu, 2003-03-20 at 16:39, David Cain wrote:
> Thanks.
>
> I likewise just discovered this. Unfortunately, it doesn't report the
> correct "Product meta type" when I create a new scriptable type. It
> just reports the type my scriptable type was based on :(
>
> Any ideas on how to get to the actual scriptable type's "Product meta
> type" information are greatly appreciated.
>
> > -----Original Message-----
> > From: Gitte Wange [mailto:gitte@mmmanager.org]
> > Sent: Thursday, March 20, 2003 9:34 AM
> > To: David Cain
> > Subject: Re: [Zope-CMF] Getting an object's Product meta type
> >
> >
> > On Thursday 20 March 2003 03:24 pm, David Cain wrote:
> > > Let me rephrase the question: how do I get to an object's
> > Product meta
> > > type?
> >
> > In a page template you could do something like this:
> > Meta type: <span tal:replace="here/meta_type" />
> >
> > An object's metatype is accessed with it's property 'meta_type'
> >
> > --
> > Gitte Wange
> > Technical Manager
> >
> > Email: gitte@mmmanager.org
> > Web: http://www.mmmanager.org
> > Tlf: +45 36 46 20 02
> >
> > Google's suggestion when searching for 'aq_base zope'
> >
> > -- Michel Pelletier pointed this out
> >
>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
--
Vladimir Iliev
http://www.vintech.bg