[Product-Developers] Re: Limiting schema extenders to one Plone site?

Raphael Ritz r.ritz at biologie.hu-berlin.de
Fri Jun 13 08:21:26 UTC 2008


David Glick wrote:
> You can either use IBrowserLayerAwareExtender and a browser layer that's 
> registered by your product, or else register the extender as a local 
> adapter (e.g. using componentregistry.xml)
> David
> 

Alternatively, you might be interested in looking at

   http://pypi.python.org/pypi/plone.behavior

Raphael


> On Jun 12, 2008, at 1:22 PM, Andreas Jung wrote:
> 
>> Schema extender implementing ISchemaExtender or 
>> IOrderableSchemaExtender extend the schema of a particular 
>> content-type for all Plone instances within a Zope site. Is there a 
>> way to restrict the extender to one site only (based on some 
>> conditions)? One possiblity would be to hack something into 
>> getFields()..would IBrowserLayerAwareExtender do the job by using a 
>> particular layer only available within the related sites? Or any 
>> better ideas?
>>
>> Andreas_______________________________________________
>> Product-Developers mailing list
>> Product-Developers at lists.plone.org
>> http://lists.plone.org/mailman/listinfo/product-developers
> 
> David Glick
> Project Associate
> ONE/Northwest
> 
> New tools and strategies for engaging people in protecting the environment
> 
> http://www.onenw.org
> davidglick at onenw.org
> (206) 286-1235 x32
> 
> Subscribe to ONEList, our email newsletter!
> Practical advice for effective online engagement
> http://www.onenw.org/full_signup





More information about the Product-Developers mailing list