Warning: Undefined variable $filepath in /home/tiki-doc/public_html/lib/wiki-plugins/wikiplugin_tikidocfromcode.php on line 146
Include a portion of another wiki page | Documentation for Tiki Wiki CMS Groupware
Loading...
 
Skip to main content

Plugin Include

Use this wiki plugin 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

Parameters

Tiki Doc From Code error: include not found

Example

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

This code:

Copy to clipboard
{include page="Tiki2" start="!!!# Authentication" stop="!!!!# OpenID"}


Would produce on this site:

Authentication has received a major enhancement.

Some new options

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


 Partial inclusions
start and stop must represent the entire line, not just a portion of a line.

Limitations

You can not include a same page or a same page extract more than 5 times on one page. If you need to exceed 5 times you will have to modify the plugin and change the value of max_inclusions . Starting in Tiki 18.2, there is a parameter to do so.


Created by system. Last Modification: Monday 29 July, 2019 11:05:04 GMT-0000 by Yves Kipondo.
Show PHP error messages