提供呈现包含的集合结果的组件
raptus.article.collections的Python项目详细描述
简介
提供基本的集合组件。
此软件包提供了raptus.article的以下功能:
成分
- Collections (Collections including their results contained in the article)
- Collections left (Collections including their results contained in the article on the left side)
- Collections right (Collections including their results contained in the article on the right side)
- Collections columns (Collections including their results contained in the article arranged in columns)
依赖性
- raptus.article.core
安装
注意,如果安装raptus.article.default,则可以跳过此安装步骤。
要将raptus.article.collections安装到plone实例中,请找到文件 在文件系统上plone实例目录的根目录中buildout.cfg, 在文本编辑器中打开它。
将实际的raptus.article.collections附加组件添加到 buildout.cfg.查找如下所示的部分:
eggs = Plone
如果已经有其他加载项,则此部分可能还有其他行 安装。只需在单独的行中添加raptus.article.collections,如下所示:
eggs = Plone raptus.article.collections
注意,您必须像这样运行buildout:
$ bin/buildout
然后以管理员的身份转到plone中的“附加组件”控制面板,然后 安装或重新安装“raptus.article.default”产品。
注意,如果不使用raptus.article.default包,则必须 添加raptus.article.collections的zcml 到构建中的zcml列表或将其包含在另一个包的 配置.zcml。
用法
组件
导航到文章的“组件”选项卡并选择其中一个集合 组件并按“保存并查看”。请注意,至少有一个集合具有 此组件所在的项目中必须至少包含一个结果 是活动的。
版权和信用
raptus.article受Raptus AG版权所有,并根据GPL授权。 有关详细信息,请参见license.txt。
更改日志
1.0a2(2014-07-22)
- 将大脑添加到集合的结果列表中,以允许积分器 通过z3c.jbot自定义raptus.article.collections.browser.collections.pt 访问其他属性或brain.getobject()[frisi]
1.0a1(2012-03-21)
- 初始版本