提供可在portlet或视图中显示的个人命中列表
Products.HitList的Python项目详细描述
简介
hit list为plone提供了一个简单的点击列表功能。用户可以 将特定内容类型的对象添加到其hitlist中,如果没有,则将其删除 需要更长时间。用户的当前命中列表可以显示在portlet中,或者 在一个特定的视图上。
集成
默认情况下,不会为任何内容类型激活命中列表行为。这个 功能绑定到标记界面:
Products.HitList.interfaces.IHitListContent
实现此接口的对象可以添加到命中列表中。激活 现有内容类型的行为可以通过子类或更好的子类来完成。 在zcml中使用five:implements指令。
示例
通过使用以下zcml指令,激活了 文档:
<configure xmlns="http://namespaces.zope.org/zope" xmlns:five="http://namespaces.zope.org/five"> <five:implements class="Products.ATContentTypes.content.document.ATDocument" interface="Products.HitList.interfaces.IHitListContent" /> </configure>
更改日志
2.0b4-(2012-05-01)
- 修复了返回编码字符串而不是Unicode对象的标题方法 当索引对象 时,它导致了一个UnoDoDebug错误。
- plone 4.1兼容性
2.0b3-(2010-11-02)
- 修复了错误释放
2.0b2-(2010-10-24)
- 将zip_safe flag设置为false
2.0b1-(2010-10-19)
- 首次公开发行