This is in regards to the Fivestar module located here: http://drupal.org/project/fivestar
I've added a five star field to my content type, and created a view (both block and page). I can adjust the five star rating for a node of this content type perfectly when editing, and the rating displays as expected on the page view (both teaser list and node view).
My problem is that I can't for the life of me get it to display in the block (which is set to list view, and the field has been added in the "Fields" section).
Is anyone else having this problem?
The source code is printing this:
<div class='view-field view-data-node-data-field-fivestar-rating-field-fivestar-rating-target'></div>
It just seems to be missing all the stars.
That node definately has a rating btw.
Any help greatly appreciated.
Comments
Work-around
I haven't managed to fix it, but I have found a work-around.
Basically, instead of "list-view", I've used "teaser-view" for the block. I've then modified the template file for the node. In my case, the block in question only appears on the home page, so in node-viewname.tpl.php I have added an if($is_front) statement allowing me to dish up a specific teaser layout.
I have had the same problem
I have had the same problem when using node_load() in Drupal 6. It loads the node, it just doesn't seem to load the fivestar data.