Fullscreen
[Show/Hide Right Column]

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: lindon132 points  , Marc Laporte9138 points  , Xavi67871 points  and system .
Page last modified on Thursday 25 February, 2010 03:40:11 UTC by lindon132 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki

Show php error messages
 
PHP (5.3.5-1ubuntu7.8) ERROR (E_WARNING):
File: lib/images/abstract.php
Line: 231
Type: getimagesize(show_image.php?name=new.png) [function.getimagesize]: failed to open stream: No such file or directory