plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
246 stars 186 forks source link

ContentType should not be used as default page for folder #2700

Closed krissik closed 4 years ago

krissik commented 5 years ago

How to exclude a content type from beeing used as default page for a folder?

I try to exclude a custom content type from beeing used as a default page for a folder. The problem also exist for default content types like "Link".

What I did:

What I expect to happen:

I expected that a Link is not in the list of items to select as default page because at "Content Settings" - "Link" the checkbox "Can be used as a default page" is not checked.

What actually happened:

The link is the default page of the folder (indicated by the star in front of it) link_as_default_page

What version of Plone/ Addons I am using:

demo.plone.org (Plone 5.1.5 (5115))

krissik commented 5 years ago

It is a bit different for "File" instead of "Link" objects. File objects can not be set as default page with "Display" menu because they are not in the list of available items. But they can be set as default page using "Actions" Menu in folder contents view:

file_as_default_page

file_as_default_page_2