[Zope] Re: ZCatalog indexing help request
Kamal Gill
gill@library.ucsf.edu
Mon, 16 Dec 2002 16:25:13 -0800
> not getattr(_.this(),'noindex')
I'm afraid this did not work for me. There are no error messages
returned, but there are no items added to the catalog as there should
be.
Any other ideas?
On Monday, December 16, 2002, at 03:30 PM, Maik Jablonski wrote:
> Kamal Gill wrote:
>>> not this().getProperty('noindex')
>> This works for individual page template objects, but I was hoping to
>> ignore collections of objects contained in a folder that contains a
>> 'noindex' property.
>
> Ok, I didn't got your problem. Next try...:) You'll have to use
> acquisition:
>
> not getattr(_.this(),'noindex')
>
> this one should do the magic you'll need...
>
> -mj
>
>
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )