Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
fivestar_pane.tar_.gz | 1.08 KB | killes@www.drop.org |
Comments
Comment #1
ezra-g CreditAttribution: ezra-g commentedAwesome - Thanks! I'll do my best to review soon :D.
Comment #2
heaton CreditAttribution: heaton commentedThank you very much Killes. I have been looking for this feature for hours. It works perfect.
Comment #3
lpalgarvio CreditAttribution: lpalgarvio commentedsubscribing
Comment #4
lpalgarvio CreditAttribution: lpalgarvio commentedworks ;)
note, there's a bug currently in Fivestar which doesn't allow voting, be it through Panels or Views.
Comment #5
lpalgarvio CreditAttribution: lpalgarvio commentedcommit it somewhere :P
other working solutions:
Flag panels integration - http://drupal.org/node/332956
Ubercart panels integration - http://drupal.org/node/658732
Comment #6
itserich CreditAttribution: itserich commentedSo is this file installed instead of the regular fivestar module? It is not a traditional patch?
Thanks.
Comment #7
lpalgarvio CreditAttribution: lpalgarvio commentedit 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.
Comment #8
itserich CreditAttribution: itserich commentedThank you LPCA.
Does it go in sites/all/modules? And then extracted?
Thank you.
Comment #9
lpalgarvio CreditAttribution: lpalgarvio commentedyes, same as usual :)
Comment #10
itserich CreditAttribution: itserich commentedThank you.
Comment #11
sirkitree CreditAttribution: sirkitree commentedSo, 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.
Comment #12
lpalgarvio CreditAttribution: lpalgarvio commentedfor 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.
Comment #13
designotb CreditAttribution: designotb commentedThank you for this. You saved me a few hours of work.
Comment #14
Ayesh CreditAttribution: Ayesh commentedTouching 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.
Thanks.
Comment #15
Jim Kirkpatrick CreditAttribution: Jim Kirkpatrick commentedSubscribe
Comment #16
Ayesh CreditAttribution: Ayesh commentedIf 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.
Comment #17
rogical CreditAttribution: rogical commentedI'm trying to use fivestar on author pane which is put on a panels page.
Comment #18
whiteph CreditAttribution: whiteph commentedKeeping 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.
Comment #19
whiteph CreditAttribution: whiteph commentedSorry, Drupal 6 is end of life, and is no longer supported.