Loading...
 
Skip to main content
Display a field of an article

Plugin Article

This wiki plugin, available since Tiki1, includes an article field in a wiki page. To include many, use PluginArticles instead.

Parameters

Display a field of an article
Introduced in Tiki 1.
Go to the source code
Preferences required: feature_articles, wikiplugin_article

Parameters Accepted Values Description Default Since
Field word The article field (component) to display. The default field is "Heading". heading 1
Id digits The article to display. If no value is provided, the most recent article will be used. 1

Examples

Let's say you wish to display the contents of an article with the Id of 10 from your site (http://doc.tiki.org/art10 taken as example) inside a Wiki page. Simply, include this type of code in your page:

Title

This code:

Copy to clipboard
{article Id="10" Field="title"}

would produce on this site:

Documentation Status Page Updated to new tagging system

Heading

This code:

Copy to clipboard
{article Id="10" Field="heading"}

would produce on this site:

Image
We've made some changes to the Documentation Status page that will help keep things up to date. Take a look!

Body

This code:

Copy to clipboard
{article Id="10" Field="body"}

would produce on this site:

Over that last several weeks, we've moved the Documentation Status page to a new system. We're now using backlinks to index to show pages that need attention. We've created a new Documentation Lifecycle document that explains the new status tags, and a How To Tag reference page that will show you how to use tags to help documents move to final production status. This idea was conceived and created by mlpvolt, and dthacker pitched on the supporting documents. Please take a few moments to review these documents and start applying tags as you find opportunities to improve the docs. If you have any questions, please drop me an internal message or catch me on irc. Thanks for your help.