Skip to main content

Provides a personal hit-list which may be displayed in a portlet or a view

Project description

Introduction

Products.HitList provides a simple hit-list functionality for Plone. Users may add objects of specific content types to their HitList and remove them if no longer needed. The current hit-list of a user may be displayed in a portlet or on a specific view.

Integration

By default the hit-list behavior is not activated for any content type. The functionality is bound to a marker interface:

Products.HitList.interfaces.IHitListContent

Objects implementing this interface may be added to the hit-list. Activate the behavior for existing content types may be done by subclassing or preferable by using the five:implements directive in zcml.

Example

By using the following zcml directive the hit-list functionality is activated for Documents:

<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>

Changelog

2.0b4 - (2012-05-01)

  • Fixed Title method to return encoded string rather than a unicode object which resulted in a UnicodeDecodeError when indexing the object

  • Plone 4.1 compatibility

2.0b3 - (2010-11-02)

  • Fixed bad release

2.0b2 - (2010-10-24)

  • Set zip_safe flag to False

2.0b1 - (2010-10-19)

  • First public release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Products.HitList-2.0b4.tar.gz (10.6 kB view details)

Uploaded Source

File details

Details for the file Products.HitList-2.0b4.tar.gz.

File metadata

File hashes

Hashes for Products.HitList-2.0b4.tar.gz
Algorithm Hash digest
SHA256 fb599f605c476bb7b203fa59c8345d7618429ab1855c5dceed147079951524e9
MD5 f67f8c4788c40067052ce833da34972e
BLAKE2b-256 76d5885d2e61799c22bd251e0996332c092023ba6116cba79db5f1e86778e80e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page