kkrieger schrieb:
I have a custom type. I want to set some kind of preference for that type, so
that it is only addable to one certain other type and it shall not appear in
the "Add" menu of any other type (folder, news, whatever).
How can I do this? I have been playing with the XML-File of my type but I
didnt have any success so far. Help is much appreciated!

Set global_allow to False in types/yourcontenttype.xml. Then add it to the allowed_content_types of the choosen container type, either in its types/*.xml file if it's also your type or add it programmaticaly or by hand to the container type's fti in portal_types.

..Carsten

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to