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

Andreas Jung lists at zopyx.com
Sun Feb 7 13:41:50 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> 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.
Problem already solved - PloneFlashUpload maintains its own filtering.
So adding a content_type_registry
+ making PloneFlashUpload aware of the portal_types resolved the issue.

Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktuwx0ACgkQCJIWIbr9KYxBPwCfbe1a5U8m5XX7eRsGJgaAKQiL
E3sAnjcCJtfRubNwH6T02u78eAAY7h0w
=oJd1
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20100207/3be469d7/attachment.vcf>


More information about the Product-Developers mailing list