如何在Plone中定义默认视图 [英] How to define default views in Plone
本文介绍了如何在Plone中定义默认视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经有一个Plone网站(主页)默认视图的页面模板. 如何定义文件夹的默认视图?此默认视图应使用页面模板.
I have already a page template for the default view of a Plone site (main page). How to define the default view of a folder? This default view should use a page template.
推荐答案
尝试一下:
- 导航到所需的文件夹
- 在网址末尾添加"/manage_propertiesForm"
- 在结果表单中添加以下属性:
- 名称:布局"
- 类型:字符串"
- 值:页面模板名称,不带扩展名
- navigate to the desired folder
- add "/manage_propertiesForm" at the end of the url
- in the resulting form add this property:
- name: "layout"
- type: "string"
- value: the page template name without extension
这篇关于如何在Plone中定义默认视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文