Fullscreen
Loading...
 
[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.




doc.tiki.org
[toggle]





Site Language

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