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.

Filename, size & hash SHA256 hash help File type Python version Upload date
Products.HitList-2.0b4.tar.gz (10.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page