[Show/Hide Right Column]

Display a component of an article in a wiki page
Print

Plugin Article

This Wiki Plugin includes an article field in a wiki page. To include many, use PluginArticles instead.

Usage

To use this plugin in a wiki page, use the syntax:

{ARTICLE(Id=>''articleId'',Field=>''fieldname'')}{ARTICLE}
Parameter Accepted values Effect Since
articleId numeric id of the article to be displayed
fieldname title,heading,body,... Value can be any field in the tiki_articles table, but title, heading or body are probably the most useful.

Example

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

Title

This code,

{ARTICLE(Id=>10,Field=>title)}{ARTICLE}

would produce:

Documentation Status Page Updated to new tagging system

Heading

This code,

{ARTICLE(Id=>10,Field=>heading)}{ARTICLE}

would produce:

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,

{ARTICLE(Id=>10,Field=>body)}{ARTICLE}

would produce:

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.
Related pages

Contributors to this page: lindon2331 points  , Xavi36278 points  , system and Marc Laporte5511 points  .
Page last modified on Thursday 25 February, 2010 03:40:11 UTC by lindon2331 points .

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):