How can I add a Dexterity content type as the default view?

半世苍凉 提交于 2019-12-04 16:09:22

Content items are listed as candidate default pages if:

  • the object is not a container type

or

  • the object portal type is listed in the default_page_types of your site_properties property sheet. Find that in the ZMI (site settings -> Zope Management Interface -> portal_properties).

    The default_page_types property is a list of portal_type ids; for Dexterity types that is usually a dotted name (the Dexterity manual uses example.conference.presenter for example).

Update for Plone 5.x

  • Go to Site Setup > Content Settings control panel
  • Select your (dexteity-)contenttype in the Workflow, visibility and versioning settings for your content types dropdown.
  • check Can be used as a default page

    (default_page_types property has been removed from ZMI)

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!