DX type not showing up in navigation/portal tabs?

Hi there,

my "XML Director" connector content-types does not show up as default in the navigation (portal_tabs).

Is this due to the fact that the content-types is not folderish (derived from Item)?
The content-types does not use the "Exclude from Navigation" behavior....so how can you make this type available as portal tab?


Choose your weapon:
a) own indexer for exclude_from_nav that returns always False
b) behavior with exclude_from_nav defined to return False
c) subscriber on object added, which sets an attribute exclude_from_nav to False

1 Like

is it unchecked in /@@navigation-controlpanel ?

Like @jensens found out, you need the Exclude from Navigation behavior enabled, otherwise the content type isn't shown. IMO, that's a bug which should be fixed.
So - rephrasing - use this behavior or go with @jensens option a).

1 Like

maybe this is the real cause; I just opened this yesterday:

The item is unchecked in the navigation control panel.

Trying to change it using GenericSetup resulted in a memory bomb:


FYI https://github.com/plone/plone.app.dexterity/pull/215