It is currently not possible to show the fivestar results for a node on a panel.
This module makes this possible. It seems to work fine.
There is a minor bug: there is no custom icon.
Awesome - Thanks! I'll do my best to review soon :D.
Thank you very much Killes. I have been looking for this feature for hours. It works perfect.
note, there's a bug currently in Fivestar which doesn't allow voting, be it through Panels or Views.
commit it somewhere :P
other working solutions:
Flag panels integration - http://drupal.org/node/332956
Ubercart panels integration - http://drupal.org/node/658732
So is this file installed instead of the regular fivestar module? It is not a traditional patch?
it is not installed instead of the regular fivestar module.
it's not a hack, patch or replacement module, it depends on fivestar module and is installed along with fivestar module.
btw, found out a good method of making it work inside Panels, while the Views bug isn't fixed:
- add the "Rate this node/post" block to a pane of your choice in panels.
- set the parameters as you like.
- remove block title (override with blank textbox).
it should now work.
Thank you LPCA.
Does it go in sites/all/modules? And then extracted?
yes, same as usual :)
So, this works for displaying the static average - but what if you want to actually display the 'usable' (vote casting) form?
Take a look at #253071: Panels integration for editing which I've been abel to use with some good success.
for more complex cases, use Fivestar field inside a View (Views module) inside a Panel (Panels)
note, there is a bug with the stable versions that doesn't allow saving the vote.
in the dev versions this seems to have been fixed.
Thank you for this. You saved me a few hours of work.
Touching the issue again after 2 months.
I didn't install the module yet. Can you help me to figure out the following ?
I need to use "rate this node" block in a Pane that I use in APK's content type.
I have already added author pane and some other APK-related items to the panel as well as "rate this post" item. But I don't see the rating widget in the Panel.
Yes, I've enabled rating in "uprofile" content type.
I want to make sure that this module(the attached one in this issue) will make it possible to show the rating widget in the panel.
If someone is looking for how to use a rating(click-able or not) in a VIEW, add a relationship to Voting Results and add a field called "Vote results: value". You can add a click-able rating bar then.
Just needed to write just because someone pointed me here saying he can't add a click-able rating widget in a view.
I'm trying to use fivestar on author pane which is put on a panels page.
Keeping the RTBC status, but reverting to version 6.x-2.x-dev. If wanted for 7.x-2.x, please create a new feature request.
Drupal is a registered trademark of Dries Buytaert.