在Plone 4中的集合视图中扩展表列 [英] Extending table columns in collection view in Plone 4

查看:167
本文介绍了在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中的集合视图中扩展表列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆