< XRX
Motivation
You want a method for creating a rating system for items, such as a five-star rating for a product or service.
Method
Each registered user in a system can rate items. A separate collection associates users with ratings. Ratings can be placed anywhere in a form and can associate a user to an item and that association has a numeric value of 1 to 5. Items can then display their average user rating.
References
Sample Drupal Five Star rating system created with JQuery
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.