I've accomplished this by toggling the content type's "global_allow" flag
before and after.  I would think there's a better way, but I'm not sure what
that would be.

Chris



On Tue, Feb 10, 2009 at 4:05 PM, Vanderson Mota dos Santos <
[email protected]> wrote:

> Refactoring:
> "or be, the folder's allowed_content_types should NOT be added by the
> member."
>
>
>
> 2009/2/10 Vanderson Mota dos Santos <[email protected]>
>
> Hi all,
>> I'm trying to set some content types to be addable only programatically,
>> or be, the folder's allowed_content_types should be added by the member.
>>
>> I've tried the implicity addable set both to true and false, and is not
>> working.
>>
>> could anyone help me?
>>
>> thanks in advance
>>
>> --
>> Vanderson Mota dos Santos
>>
>>
>
>
> --
> Vanderson Mota dos Santos
>
>
> _______________________________________________
> Product-Developers mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/product-developers
>
>
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to