本文介绍了如何添加敏捷内容类型作为默认视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将文件夹默认视图设置为我创建的敏捷内容类型.但是我看到,Dexterity内容类型不在文件夹可能的默认内容视图列表中.为什么?我必须在内容类型中设置一个选项吗?

I'm trying to set a folder default view as a Dexterity content type that I created. But I see that Dexterity content types aren't in the list of possible default content views for folders. Why? Is there an option that I must set in the content type?

推荐答案

在以下情况下,内容项被列为候选默认页面:

Content items are listed as candidate default pages if:

  • 该对象不是容器类型

  • 对象门户网站类型在site_properties属性表的default_page_types中列出.在ZMI中找到它(站点设置-> Zope管理界面-> portal_properties).

  • 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).

default_page_types属性是portal_type id的列表;对于通常是点号的敏捷类型(《敏捷手册》 example.conference.presenter为例).

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).

这篇关于如何添加敏捷内容类型作为默认视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-26 17:58