如何自定义Plone-5的folder_contents

时间:2017-02-24 07:55:37

标签: plone backend mockups plone-5.x

我想自定义Plone的folder_contents,为每个列出的项目添加“编辑”链接,如下图所示。

如何做到这一点?

enter image description here

2 个答案:

答案 0 :(得分:0)

有一个名为table.xml的文件,但我还没试过。改变Plone内部的东西是非常麻烦的。

答案 1 :(得分:0)

看起来正确的方法是加载模块并更改其原型:

var structure = require('mockup-patterns-structure');
structure.prototype.defaults._default_activeColumns = ["ModificationDate","EffectiveDate","review_state","id","Type"]
相关问题