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.

Files: 
CommentFileSizeAuthor
fivestar_pane.tar_.gz1.08 KBkilles@www.drop.org

Comments

ezra-g’s picture

Awesome - Thanks! I'll do my best to review soon :D.

heaton’s picture

Thank you very much Killes. I have been looking for this feature for hours. It works perfect.

lpalgarvio’s picture

subscribing

lpalgarvio’s picture

works ;)

note, there's a bug currently in Fivestar which doesn't allow voting, be it through Panels or Views.

lpalgarvio’s picture

Status:Needs review» Reviewed & tested by the community

commit it somewhere :P

other working solutions:
Flag panels integration - http://drupal.org/node/332956
Ubercart panels integration - http://drupal.org/node/658732

itserich’s picture

So is this file installed instead of the regular fivestar module? It is not a traditional patch?

Thanks.

lpalgarvio’s picture

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.

itserich’s picture

Thank you LPCA.

Does it go in sites/all/modules? And then extracted?

Thank you.

lpalgarvio’s picture

yes, same as usual :)

itserich’s picture

Thank you.

sirkitree’s picture

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.

lpalgarvio’s picture

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.

designotb’s picture

Thank you for this. You saved me a few hours of work.

Ayesh’s picture

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.

Thanks.

Jim Kirkpatrick’s picture

Subscribe

Ayesh’s picture

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.

rogical’s picture

Version:6.x-2.x-dev» 7.x-2.0-alpha1

I'm trying to use fivestar on author pane which is put on a panels page.

whiteph’s picture

Version:7.x-2.0-alpha1» 6.x-2.x-dev
Issue summary:View changes

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.