Comments.Newfirst
Summary
The Comments
loop lets you display available data of specific comment when the comments ordered descending by date .
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
CreatedDate
Returns the created date and time the comment was created.
@GetDate("CreatedDate")
Returns the email address that the visitor has submitted with the comment.
@GetString("Email")
EmailMd5Hash
Returns the email address that the visitor has submitted with the comment in an unique md5 hash encryption.
@GetString("EmailMd5Hash")
ItemType
Returns the type of the item that the comment is added to (ecomProduct, news, page ).
@GetString("ItemType")
LangID
Returns the language ID of the news item that the comment is added to.
@GetString("LangID")
Likes
Returns the number of likes that the visitor has submitted with the comment.
@GetInteger("Likes")
Name
Returns the name/heading that the visitor has submitted with the comment.
@GetString("Name")
Nolikes
Returns the number of dislikes that the visitor has submitted with the comment.
@GetInteger("Nolikes")
Stars
Returns the specific rating submitted by the visitor - displayed by stars.
@GetString("Stars")
Token
Returns an unique token for the comment. E.g. used in actions (like dislike, delete activate) from an email.
@GetString("Token")