[Product-Developers] Re: [GenericSetup] Updating allowed_content_types without redefining it

Raphael Ritz r.ritz at biologie.hu-berlin.de
Sun Oct 12 15:29:04 UTC 2008


Andreas Jung wrote:
> Hi there,
> 
> I am writing an extension profile and I need to add a new portal_type
> to the allowed_content_types property of another portal type (not under
> my control). Can I add a single value to the allowed_content_types 
> property _without_ redefining  all other existing values? Only one value 
> should merged into the existing configuration. Possible?
> 

Try adding

   purge = False

to the 'allowed_content_types'  property tag.

(not sure it is respected in this case but then I'd
call it a bug)

Raphael



> Andreas
> 
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers





More information about the Product-Developers mailing list