Comments
comments.tpl - one comment template.
| Tag |
Description |
| {id} |
Comment ID. |
| {author-link} |
Profile link. |
| {author-name} |
Author name. |
| {author-avatar} |
Link to avatar. |
| {date} |
The date of the comment in the format (d.m.Y H:i). |
| {comment} |
Comment text. |
| {post-link} |
Displays a link to the news where the comment was added. This tag works only in custom comments. |
| {post-title} |
Displays a title news where the comment was added. This tag works only in custom comments. |
FAQ
Comment is not added in AJAX mode
In order for new comments to appear immediately after sending, you must have an element with the data-comments attribute. This will add a comment inside the element.