How to customize Plone-5's folder_contents

痞子三分冷 提交于 2019-12-13 17:25:48

问题


I want to customize Plone's folder_contents to add an 'edit'-link to each listed item, like show in the image below.

How would one do that?


回答1:


There is a file called table.xml but I have not tried it. It is very cumbersome to change something internal in Plone.




回答2:


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"]


来源:https://stackoverflow.com/questions/42433390/how-to-customize-plone-5s-folder-contents

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!