Announcement and custom
anons.tpl - announcement template.
custom.tpl - default custom news template.
The two templates use the same tags.
Tag |
Description |
{id} |
News ID. |
{title} |
News title. |
{short} {short limit="100"} |
Short news entry. Displays short news content, truncated to 100 characters. |
{link} |
Link to edit the news. |
{see} |
Number of views. |
{date} {date-"d.m.Y H:i:s"} |
Publish date in the format (d.m.Y). You can specify the format, for example {date-"d.m.Y H:i: s"} |
{author-link} |
Link to the author of the news. |
{author-name} |
The name of the avatar of the author of the news. |
{author-avatar} |
Link to the avatar of the author of the news. |
{category-title} |
Category name. |
[poster]...[/poster] |
Displays content if a poster has been specified. |
[not-poster]...[/not-poster] |
Displays content if no poster has been set. |
{rating} |
Outputs the rating. |
{rating-val} |
Displays the rating result. |
{rating-num} |
Displays the number of those who voted. |
{tags} {tags-links} |
Displays the tags of the given news item. Displays tags with links. |
Additional fields |