So I implemented my own custom stars, and it's fine and dandy when I use $rh->outputDisplay(90); but when I tried $rh->outputAverage('', 90), it messes up a bunch of the other stars on the page (see screenshots attached).
The one that looks good (4.5 stars) is using 90 passed in, and the other is using 0 (the broken one).
Ok, I think it has to do with the first parameter.
I was leaving it blank on all my ratings, but I tried putting in a random number instead and everything seemed to work. The documentation says $rh->outputAverage($field, $value), but I don't know what $field is in the context.
Code
Post Reply
Delete Post
You are allowed to delete your post for 5 minutes after it's posted.
I was leaving it blank on all my ratings, but I tried putting in a random number instead and everything seemed to work. The documentation says $rh->outputAverage($field, $value), but I don't know what $field is in the context.