At the moment we are trying to provide content-type dependent portlet renderers and managers in our application. The old application used something like this for
class RightContextualEditDocumentPortletManagerRenderer( BaseRightContextualEditPortletManagerRenderer): """Portlet-renderer for the right column, in the management-view. """ adapts( IATDocument, IDefaultBrowserLayer, IManageContextualPortletsView, IRightColumn)
For Dexterity I tried to replace
Document does not provide
IDocument automatically, it must be set through manage_interfaces as a marker interface.
There are the interfaces after creating a Document in Plone:
So what are the specific interfaces of the default content-types in order to configure stuff like portlet renderers specific to them?!