问题描述
我正在尝试将文件夹默认视图设置为我创建的敏捷内容类型.但是我看到,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 yoursite_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).
这篇关于如何添加敏捷内容类型作为默认视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!