[Product-Developers] Re: Programatically only addable content types

Chris Rossi chris at christophermrossi.com
Tue Feb 10 21:26:36 UTC 2009


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 <
vanderson.mota at gmail.com> wrote:

> Refactoring:
> "or be, the folder's allowed_content_types should NOT be added by the
> member."
>
>
>
> 2009/2/10 Vanderson Mota dos Santos <vanderson.mota at gmail.com>
>
> 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
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plone.org/pipermail/product-developers/attachments/20090210/36f7e3e8/attachment.htm


More information about the Product-Developers mailing list