Search code examples
cakephpcakephp-2.0ratingcakedc

5 star rating using CakeDC plugin


I am using CakeDC ratings to make a star rating in my site. I managed to make it work but it is displaying radio choices. I really wanted it to be a 5-star like functionality. In their documentation they tell that it is possible to use Jquery.ui.stars to make it work, but I think I will spend a lot of time trying to.

Does anyone know or have a sample code (php, script, css and html) that make this functionality using that Ratings plugin?


Solution

  • You did see the js/css folders in webroot, right? https://github.com/CakeDC/ratings/tree/master/webroot

    They do serve a higher purpose. What you want is actually already part of the plugin and automatically enabled if you include the stylesheet and the javascript file...

    So, just include the scripts + jquery. Done. Whats the issue?