Adds Ratings to Pages.
|Category 1||Development Tools|
Modules that have more to do with assisting development of a site rather than managing its content.
|Category 2||Other Modules|
Modules that have a unique purpose not covered by existing categories.
Should be safe for use in production environments. *
|Compatibility||2.5, 2.6, 2.7|
|Date Added||October 8, 2014|
|Last Updated||October 11, 2014|
This module's files should be placed in /site/modules/PageRatings/
How to install or uninstall modules
This module for provides a simple API for storing user ratings for pages.
You can access the Ratings API via the
This includes the following methods:
$page->ratings->countthe amount of votes on this page
$page->ratings->averagethe average of all votes on this page
$page->ratings->currentthe current user's rating on this page,
0if the user hasn't rated this page yet
trueif the current user has already voted on this page
$page->ratings->reset()will reset all ratings
$page->ratings->add($rating)will add an rating from the current user on this page. The rating must be an integer between 1 and 5.
The module includes a German translation. Please add the language file to your German language in ProcessWire.
- Admin Helpers
- Core Modules
- Development Tools
- Field Types
- Input Fields
- Language Modules
- Language Packs
- Markup Generation
- Premium Modules
- Process Modules
- Proof of Concept
- Site Profiles
- Social, Feeds, Services
- Text Formatters
- Other Modules
- Users and Access
*Use modules at your own risk. There are no guarantees or warranties. It is recommended that you backup your site and database before installing new modules.