[Product-Developers] Re: Folder-specific content-types registries?
lists at zopyx.com
Sun Feb 7 13:41:50 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
> 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
under PUT for a starting point.
Problem already solved - PloneFlashUpload maintains its own filtering.
So adding a content_type_registry
+ making PloneFlashUpload aware of the portal_types resolved the issue.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 316 bytes
Desc: not available
More information about the Product-Developers