Gets the average of all child pages of $cItem, where $cItem can either be a page ID or page object. $akHandle is the handle of the relevant rating attribute to be checked.
http://www.concrete5.org/documentation/developers/helpers/ratings
The example loading method contains a plural "s"
$rh = Loader::helper('ratings');
But [in the current version at least (5.4.1.1)] it needs to be singular:
$rh = Loader::helper('…
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 s…
Sign In?
You must have a user account and be signed to perform this action.