Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Content Editor Discussions /

Forum for content editors and CMS users.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Rating System in Backend/Frontend

Go to End

14 Posts   4203 Views


Community Member, 22 Posts

30 November 2009 at 9:49pm

Edited: 04/12/2009 10:28am

Hello everybody,

currently i'm working on a product-website. Therefore i want to integrate a rating system in the backend. The Authors should be able to add their rating of the Game in the backend, users should be able to rate the game on the frontend. Both ratings should be displayed with a star-rating. Can anybody give me some clues how to accomplish this?



P.S: i am no great php-crack and new to silverstripe... please turn on the "slow and unseasone-mode" for me. Thanks. ;-)


Forum Moderator, 5521 Posts

30 November 2009 at 10:27pm

There is a unreleased rating module - which would be a good start.

Download the module from and install that as per any module (

Not much documentation on the rating module as it is unreleased but if you have a read of the README file in the module download it explains briefly what you need to do.

See how far you get with that and if you have questions feel free to ask :D


Community Member, 22 Posts

1 December 2009 at 3:22am

Thanks for the links. I will try it and report.


Community Member, 61 Posts

2 December 2009 at 7:08pm

Edited: 02/12/2009 7:09pm

Really interested in this module. It says they need to add javascript to the interface, do you think it would be possible to use the JS from the rating field in the formfieldsextra module?


Community Member, 22 Posts

4 December 2009 at 10:27am

this module seems not to work. i've installed it in a fresh silverstripe (2.3.3) with the blogmodule. i followed the instructions and now only think i've got ist a website error when i try to open a BlogEntryPage.

The other one from lanks didn't work either. Here i'm not sure how to insert it in my site.

Any Ideas?



Forum Moderator, 5521 Posts

4 December 2009 at 10:37am

website error when i try to open a BlogEntryPage.

Put the site in devmode and post the actual error. Could be a number of things


Community Member, 22 Posts

4 December 2009 at 7:44pm

Hello Willr,

here is my error-report:

[User Error] Uncaught Exception: Object->__call(): the method 'notyetrated' does not exist on 'RatingControllerDecorator'
GET /test_area1/new-blogentry/

Line 551 in {}public_html/test_area1/sapphire/core/Object.php

542 case isset($config['function']) :
543 return $config['function']($this, $arguments);
545 default :
546 throw new Exception (
547 "Object->__call(): extra method $method is invalid on $this->class:" . var_export($config, true)
548 );
549 }
550 } else {
551 throw new Exception("Object->__call(): the method '$method' does not exist on '$this->class'");
552 }
553 }
555 // -----------------------------------------------------------------------------------------------------------------
557 /**


* Object->__call(NotYetRated,Array)
* RatingControllerDecorator->NotYetRated(
Line 24 of RatingControllerDecorator.php
* RatingControllerDecorator->RatingForm()
* call_user_func_array(Array,Array)
Line 525 of Object.php
* Object->__call(RatingForm,Array)
* BlogEntry_Controller->RatingForm()
* call_user_func_array(Array,Array)
Line 408 of ViewableData.php
* ViewableData->XML_val(RatingForm,,1)
Line 983 of ViewableData.php
* ViewableData_Customised->XML_val(RatingForm,,1)
Line 192 of .cache.home.u0080278174.{}
* include(/tmp/silverstripe-cache-home-u0080278174-public_html-test_area1/.cache.{}
Line 354 of SSViewer.php
* SSViewer->process(BlogEntry_Controller)
Line 175 of Controller.php
* Controller->handleAction(HTTPRequest)
Line 129 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 122 of Controller.php
* Controller->handleRequest(HTTPRequest)
Line 29 of ModelAsController.php
* ModelAsController->handleRequest(HTTPRequest)
Line 277 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(/new-blogentry/)
Line 118 of main.php


Community Member, 61 Posts

13 December 2009 at 8:31pm

I'm getting the same error when trying to use this with 2.3.4, did you find out how to fix?

Go to Top