Is there an archetypes property to compliment 'global_allow' that would help restrict the locations within a site in which a content type can be created? Setting 'global_allow = 0' ensures that a content type cannot be created just anywhere. But is there another property that can be used to specify an allowed *location* (*not* a separate, containing type) for the content type?

I would like to make a custom content type available exclusively in a specific location in a site ([site]/mycontainer/, for example). You can use the ZMI portal_types to clone a type, such as Folder, and restrict content type creation to only that new type. However, this seems to lose some properties of the original Folder type, and I'd rather program this into the custom content type itself.

Thanks,
~John

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

Reply via email to