History: PluginArticle
Preview of version: 2
- «
- »
Includes an article field
{ARTICLE(Id=>articleId, Field=>FieldName)}{ARTICLE}
FieldName can be any field in the tiki_articles table, but title,heading, or body are probably the most useful.
Let's say you wish to display the contents of an article with the Id of 3 from your site inside a Wiki page. Simple include this in your page:
!{ARTICLE(Id=>3,Field=>title)}{ARTICLE}
^{ARTICLE(Id=>3,Field=>heading)}{ARTICLE}^
~~blue:{ARTICLE(Id=>3,Field=>body)}{ARTICLE}~~