Skip to main content

Simple yes/no usefulness rating for Plone content, enables e-mail notification

Project description

Introduction

This product adds a viewlet which allows users to rate the usefulness of a content item.

It also registers an Event which can be used in Plone’s Content Rules so that an e-mail can be sent immediately after a rating has been submitted.

Features

  • Viewlet (below content) presents a form with the question “Was this information useful?”:

    • Clicking “Yes” immediately submits

    • Clicking “No” shows a comment field and submit button

  • By default, enabled for “Document” types, others selectable.

  • Enables immediate e-mail notification, with the rating value (“Yes” or “No”) and rating comment (in the case of “No”) as e-mail variables.

Installation

To your buildout.cfg, add:

eggs =
    ...
    collective.wasthisuseful

Usage

Enable e-mail notification

Create a content rule which has “Usefulness rated” as a trigger. As the rule’s action, select “Send e-mail”. In the e-mail message, you can use ${usefulness_comment} and ${usefulness_value} as variables (in addition to the usual ${url} and ${title}.

Select enabled types

The settings form which enables you to select on which content types the viewlet is available can be found at @@wasthisuseful-settings. Type this after you site url.

To do

  • Show number of ratings

  • Ability to disable rating on one content item

  • Integrate with collective.contentratings

  • Translate rating value (“Yes”/”No”) in content rule e-mail

Changelog

0.1dvldev (unreleased)

  • Initial release

Project details


Supported by

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