Module (Extension) to rate pages.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
- Page 11(current)
- 2
- Next 10 entries
Version v1.1.00 Released with Silverstripe 2.4 compatibility.
Warning: Use v1.0.01 for Silverstripe 2.3.x.
Can't seem to get it to work. I am getting the following error. Any ideas why?
Fatal error: Call to undefined method Director::get_current_page() in /var/www/testrating/ssranking/code/SSRatingExtension.php on line 131
To use with Silverstripe 2.3.x use the SSRating version 1.00.01 - http://www.silverstripe.org/assets/modules/stable/ssrating-v1.0.01.tar.gz
Hello, I am trying to use the rating system on dataobjects instead of pages only. How would I modify your code for this?
I'm not sure what you want to do. The module is a Silverstripe extension and you can call the public methods to get the rating.
Ok, let me put it this way. Your rating system attaches a rating to the Page it is called from. I have several DataObjects, called Video, BlogEntry and Photo. Your rating system does not attach itself to them, because they do not have their own pages. Instead, I use RESTful-style URLs to call and display them from a single Page Holder. When I attempt to attach your rating to them, it rates the parent page (the holder) instead of the individual data objects.
Is that more clear now?
Hello
I have downloaded and installed this module. Looks great - thanks!
I have one issue and one suggestion / request.
Issue - when the user rates the page, the rating saved message displays and fades away, average and votes info is updated, but the stars stay the same. I have to refresh the page to show the right number of stars. That dosn't seem right.
Suggestion - it would be super awesome if the rating was attibuted to the user if logged in, so that the user couldn't rate things over and over, and they could see the rating they gave. Is this possible?
Thanks again
Will
- Page 11(current)
- 2
- Next 10 entries