Skip to content

CakePHP Rating System

I was thinking about adding a rating system (1-5 stars) to a cakephp site I run, and was looking forward to it.  But then I remembered the cardinal rule of software development, especially in the internet age: check and see if someone has done it first.

And someone had. Updated 6/2/2105: The previous link no longer works.  If I had to, I’d try this plugin instead (but I haven’t).

The biggest issue I ran into is making sure that I added the javascript helper to every controller that uses the default layout.  If I didn’t do that, I got a blank white screen.  Other than that, smooth sailing.