About Star Rating Integer

Field that stores ratings as integer

Category 1Field Types
Fieldtype modules that represent a data type used by fields.
Category 2Input Fields
Inputfield modules that provide a UI input widget in the ProcessWire admin.
Release StateStable
Should be safe for use in production environments. *
Authorraymond-geerts
Module Version1.0.0
Class NameFieldtypeStarRating
Compatibility2.6, 2.7
Date AddedJune 4, 2015
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

This module's files should be placed in /site/modules/FieldtypeStarRating/
How to install or uninstall modules

README

FieldtypeStarRating

Module for ProcessWire - Field that stores an integer by using a star rating interface.

To install

Copy to /site/modules/ and go to Admin > Modules > Check for new modules.

Tested on ProcessWire 2.6.2 dev

Usage back-end

Create a new field with the fieldtype Star Rating. Set the amount of stars you want to show, by default it is set to 5 stars.

Field settings

Assign the field to any template. Now you can set the field value by selecting any of the 5 stars. The number saved to the database equals the number of stars that are highlighted.

Star Rating

Hovering the stars will show a reset icon, which will reset the value to 0 by clicking on it.

Resetting to 0