[Product-Developers] Re: Folder-specific content-types registries?

Martin Aspeli optilude+lists at gmail.com
Sun Feb 7 13:32:50 UTC 2010


Andreas Jung wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi there,
>
> I have a custom ATFolder-based content-type where uploaded images
> must be mapped to my own ATImage derived content-type. Adding a local
> content_type_registry within the folder does not work. Plone seem to pick
> up the settings from registry within the Plone root. Is there some
> other way
> to accomplish this?

There are methods you can override... take a look at 
http://svn.plone.org/svn/plone/plone.dexterity/trunk/docs/WebDAV.txt 
under PUT for a starting point.

Martin

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book





More information about the Product-Developers mailing list