Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何自定义“相关项目”屏幕?我想显示日期(有效)并使列表按时间顺序显示。
相关项目是 Products.ATContentTypes 包中声明的 Archetypes 字段:
https://github.com/plone/Products.ATContentTypes/blob/master/Products/ATContentTypes/content/schemata.py#L38
您可以通过猴子补丁覆盖小部件的模板,在您自己的内容类型或所有现有的 Plone 内容中:
https://developer.plone.org/reference_manuals/old/plone_3_theming/buildingblocks/skin/templates/customizing-at-templates/customizing-widgets.html