admin posted on May 08, 2009 11:32
TotalRatings New in v2.5.1
Parameters: Ratingslabel = string – default = “{0} vote(s)”
myXMODID = integer,
cssClass = string – css style
TotalRatings will display the total ratings count in your list or detail views.
e.g.
"server" ratingslabel="Votes: {0} " myXMODID="" cssclass="normalbold" />
TotalComments Updated in v2.5.1
Parameters: commentslabel = string – now uses string.format functionality, defaults to "Total Comments {0}"
{0} is replaced by comments count.

1: <xmod:ratings location="xmod" fullimage="fullstar.gif" emptyimage="emptystar.gif" ratingscale="5" showrating="true" allowratings="registered" />
2: from
3: <fgct:TotalRatings runat="server" Ratingslabel="{0} vote(s)" myXMODID="<xmod:recordid/>" cssclass="normalbold" />
4:
5: <fgct:TotalComments runat="server" commentslabel="Comments: {0}" myXMODID="<xmod:recordid/>" cssclass="normalbold" />
The fatgeorge Custom Template Tag Collection is available from
or direct from fatgeorge or as part of the fatgeorge for Xmod subscription package.