Comments
Available tags
Comments.Rating
Returns a generic avarage value for the ratings.
RAZOR
@GetInteger("Comments.Rating")
Comments.Rating.Rounded
Returns a generic avarage value for the ratings - rounded up to nearest integer.
RAZOR
@GetDouble("Comments.Rating.Rounded")
Comments.Rating.Rounded2
Returns a generic avarage value for the ratings - rounded to nearest half.
RAZOR
@GetDouble("Comments.Rating.Rounded2")
Comments.RepliesCount
Returns the number of replies on the comment.
RAZOR
@GetInteger("Comments.RepliesCount")
Comments.Stars
Returns a generic avarage value for the ratings - displayed with stars.
RAZOR
@GetString("Comments.Stars")
Available loops
Comments
The Comments
loop lets you display available data of specific comment.
RAZOR
@foreach (LoopItem item in GetLoop("Comments")){ <p>@item.GetValue("TagName")</p> }
Comments.Newfirst
The Comments
loop lets you display available data of specific comment when the comments ordered descending by date .
RAZOR
@foreach (LoopItem item in GetLoop("Comments.Newfirst")){ <p>@item.GetValue("TagName")</p> }