如何自定义Plone-5的folder_contents [英] How to customize Plone-5's folder_contents
本文介绍了如何自定义Plone-5的folder_contents的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想自定义Plone的folder_contents,为每个列出的项目添加一个编辑"链接,如下图所示.
I want to customize Plone's folder_contents to add an 'edit'-link to each listed item, like show in the image below.
那怎么办?
推荐答案
看起来正确的方法是加载模块并更改其原型:
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"]
这篇关于如何自定义Plone-5的folder_contents的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文