How to customize Plone-5's folder_contents

2019-08-01 16:17发布

问题:

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