Closed (fixed)
Project:
jRating
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2007 at 16:34 UTC
Updated:
25 May 2007 at 12:02 UTC
I wrote my own custom blocks to list latest / top rated stuff from my site (I didn't use views because I needed more control over mysql queries).
The last thing I need to do is to display jrating widget for average score. I have nid, votingapi_cache average score and votingapi_cache count value. I've looked through jrating.module code and I'm really confused. Which function should I call to get the html code of an average score widget?
Comments
Comment #1
hickory commentedProbably theme_jrating_average_rating.
Comment #2
hickory commentedOr theme_jrating_static($value) if you don't need the Average Rating text.
Comment #3
hickory commentedComment #4
(not verified) commented