I'm trying to use fivestar in a block module I've written, and am simply not sure if I'm doing it properly. I'm using one line of code:

fivestar_widget_form($nid)

This prints out the widget ok and it appears to work fine when I click on the widget, but none of my votes are actually saved to the database. I'm using jquery 1.2 and fivestar 5.x-1.10.

Is there something else I should be doing or a way I can debug what is going on?

CommentFileSizeAuthor
#1 voteresults.PNG6.31 KBilmaestro

Comments

ilmaestro’s picture

StatusFileSize
new6.31 KB

One more comment I should add:

I just dumped the results of fivestarDefaultResult which is called after my vote is cast. Have a look at the attached image to see what I'm getting.

ilmaestro’s picture

Status: Active » Closed (fixed)

Ok, yet another response :)

I found my problem. I didn't have my content type setup for 5 star voting, which I did on purpose since I want the fivestar widget in a side blog and not in the main content area. Anyways, I should be able to fix this.

I suppose this issue can be closed, thanks.