Fullscreen
[Show/Hide Right Column]

Plugin Include

This Wiki Plugin can be used to include the contents of a Wiki page inside another page (it must be a Wiki page located in the Wiki section of your Tiki, as other types of pages won't work yet!). This is a form of Wiki transclusion



Related: PluginTransclude

Install

Starting in 2.0, this plugin is bundled and doesn't need to be installed separately.

Usage

This example transcludes (or includes) portions of the page Tiki2 between the strings Authentication and OpenID.

Use the syntax
{BOX()}
{include page="Tiki2" start="!!!# Authentication" stop="!!!!# OpenID"}
{BOX}


Produces:

Authentication has received a major enhancement.

Some new options
  • Use login as email
  • Crypt passwords method
  • User trackers at registration



(NOTE: start and stop must be the entire line, not a portion of a line.)

Parameters

Parameter Type Use Description
page string mandatory the page to include
start string optional the include will begin just after the first occurrence of the string in the page
stop string optional the include will end just before the first occurrence of the string in the page


Security

You can not include a same page or a same page extract more than 5 times. (In tw <3.0, you can not include the same page more than 5 times even if it is a different extract). If you need to exceed 5 times you will have to modify the plugin and change the value of max_times.



Contributors to this page: petjal468 points  , lindon137 points  , WizarDave188 points  , Louis-Philippe Huberdeau1046 points  , carsten.aevermann1138 points  , Bernard TREMBLAY487 points  , Marc Laporte9146 points  , AdamChan9 points  , campbe13658 points  , KaiiaK291 points  , Scot Wilcoxon684 points  , sylvie7387 points  , Xavi67984 points  , Gary Cunningham-Lee1539 points  , mlpvolt4388 points  and system .
Page last modified on Thursday 10 May, 2012 13:39:22 UTC by petjal468 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