我想自定义 Plone 的 folder_contents 为每个列出的项目添加一个“编辑”链接,如下图所示。
如何做到这一点?
有一个文件叫table.xml
,但我还没有尝试过。在 Plone 中改变一些内部的东西是非常麻烦的。
Looks like the right way to do it is loading the module and changing it's prototype:
var structure = require('mockup-patterns-structure');
structure.prototype.defaults._default_activeColumns = ["ModificationDate","EffectiveDate","review_state","id","Type"]