recent_comments
Attributes:
- sort="sort value(s)" • How to sort the resulting list. Available values: discussid (comment ID#), parentid (article ID#), name, email, web, ip (IP address), posted, message, rand() (random). Default is posted asc.
- limit="integer" • Number of comments to display. Default is 10.
- offset="integer" • The number of comment to skip. Default is 0.
- form="form name" •
Use specified form. Default is
User's Name (Article Name). - label="label text" • Label for the top of the list. Default is unset.
- labeltag="tag" • (X)HTML tag (without brackets) to wrap around label. Default is unset.
- wraptag="tag" • (X)HTML tag (without brackets) to wrap around list. Default is unset.
- break="value" • (X)HTML tag (without brackets) or string used to separate list items. Default is br.
- class="class name" • (X)HTML class attribute to be applied to wraptag. Default is recent_comments.
Behaviors:
The recent_comments tag can be used as either a single or container tag which returns a list of permanent links to recent comments, this list will be displayed with the format : User's Name (Article Name) by default.
Wrapped content will be treated the same as would form content, and can include both comment form and article form tags.