VotingAPI Field

Component ID

101046

Component name

VotingAPI Field

Component type

module

Component security advisory coverage

not-covered

Downloads

162

Component created

Component changed

Component body

Defines a Voting API field type for content.module.

Currently provides 4 types of voting fields:

  • Choice: user chooses an item from a list to vote on. Poll-like.
  • Score: users rate nodes. There can be a range of scores or a single score like +1
  • Percent: users specify a percentage from 0 to 100 and the average is presented. Currently input is limited steps of 5%. A slider-type widget could replace this with finer granularity.
  • Author Rating: node authors specify a single numeric rating.

The input/output of this module is currently very primitive. The form input and results output systems are likely to undergo serious revision in the near future to support all kinds of fancy voting widgets.

This module requires VotingAPI, which it uses for vote storage, calculations, and caching. It also of course requires the CCK module since it defines CCK field types.

This module is defunct. Do not use it. Use fivestar module instead.