Skip to content

Instantly share code, notes, and snippets.

@adamhunter
Created June 25, 2009 17:43
Show Gist options
  • Save adamhunter/136009 to your computer and use it in GitHub Desktop.
Save adamhunter/136009 to your computer and use it in GitHub Desktop.
velocity ratings
<!-- <li class="rate">
#set($ratingAggs = $cms.getRatingAggregates(["$content.id"]))##
#set($ratingAggObj = $ratingAggs.get($content.id))##
#set($averageRating = $ratingAggObj.average)##
$cms.template("Rating module")
</li> -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment