在Plone 4中的集合视图中扩展表列

编程入门 行业动态 更新时间:2024-10-27 04:36:05
本文介绍了在Plone 4中的集合视图中扩展表列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

集合提供了一个选项,用于选择要在集合表视图中显示的列。

Collections provide an option to select columns to be display within the table view of collection.

我们使用archetypes.schemaextender:teaser image和teaser text来扩展大多数包含两个字段的内容类型。

We are extending most content-types with two fields using archetypes.schemaextender: teaser image and teaser text.

  • 有没有合理的方法来扩展可用表列的列表?

  • Is there a sane way to extend the list of available table columns?

预告文本和前传图像在表视图内的集合与出进一步定制?为了支持模式扩展,表视图的逻辑是否足够灵活?

Is there a way to display the teaser text and teaser image inside the table view of the collection with out further customization? Is the logic of the table view flexible enough in order to support a schema extension?

推荐答案

您可以查看 collective.formriteria 。我没有抛光它几乎足够和安装它可以让你在一些卸载麻烦,所以不要安装它没有先备份一切。也就是说,它给你足够的绳子来做你想要的使用列表达式。当然,这也是足够的绳子与自己挂。

You might want to take a look at collective.formcriteria. I haven't polished it nearly enough and installing it can get you in some uninstall trouble so don't install it without first backing everything up. That said, it gives you more than enough rope to do what you want using column expressions. Of course this is also more than enough rope to hang yourself with.

更多推荐

在Plone 4中的集合视图中扩展表列

本文发布于:2023-07-16 22:57:02,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1126808.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:视图   Plone

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!