############################################### Item Rating Module ############################################### 12 May 2009 This is a module that adds the ability for users to vote on a rating for a dataobject type (page or other item). Maintainer Contact ----------------------------------------------- Hamish Friedlander Requirements ----------------------------------------------- Installation Instructions ----------------------------------------------- Bind the rating decorator to the page type you wish to be able to rate in your sites _config.php Object::add_extension('BlogEntry', 'RatingDecorator'); Object::add_extension('BlogEntry_Controller', 'RatingControllerDecorator'); Usage Overview ----------------------------------------------- Add a $RatingForm call to your page's layout to show a simple 1..5 option field with a rating button Add a $Stars call to display the current rating using a stars-out-of-5 display Known issues ----------------------------------------------- Rating limited to 1..5 Rating is hard set to one-per-IP To Do ----------------------------------------------- Add javascript to RatingForm, allowing a 'click on the star' interface + ajax