Loading...
 

History: PluginInclude

Comparing version 26 with version 50

Lines: 1-35Lines: 1-29
-!! 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 Tikiwiki, as other types of pages won't work yet!). This is a form of [http://www.google.com/search?q=wiki+transclusion|Wiki transclusion]
+! 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 [http://www.google.com/search?q=wiki+transclusion|Wiki transclusion]
-!!! Install
__Starting in 2.
,
this plugin is bundled.__
+!! Parameters

{pluginmanager plugin="include"


!Example
ExampleThis example transcludes (or includes) portions of the page ((Tiki2))
between the strings Authentication and OpenID.
-!!! Usage
This example transcludes (or includes) portions of the page ((Tiki2)) between the strings Authenticaion and OpenID




{CODE(caption="Use the syntax" wrap="1" ishtml="1

)}
{

()}

{INCLUDE (page=>"TikiWiki 2.
" start="!!!# Authentication" stop="!!!!# OpenID"

}{INCLUDE}
{BOX
}
+''This code:''

{CODE(colors="tiki")


{include page="Tiki2" start="!!!# Authentication" stop="!!!!# OpenID"}
 {CODE} {CODE}
-Produces:

{BOX()


{INCLUDE(page=>"TikiWiki 2.
", start=>"!!!# Authentication" , stop=>"!!!!# OpenID")}{

}



BOX}



=Params=-
||__Description__
|__Type__|__Use__|__Description__page|include
|mandatory|the page to includestart|string|optional|the include will begin just after page
first occurrence of the string in the pagestop|string|optional|the include will end just before the first occurrence of the string in the page ||
+''Would produce on this site:''
--=Security=-

You can not include a same page or a same page extract more than 5 times.
(In tw <3.
,
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 plugins and change the value of max_times.
+{include page="Tiki2" start="!!!# Authentication" stop="!!!!# OpenID"}
 +{REMARKSBOX(type="warning" title="Partial inclusions")}'' -+start+- and -+stop+- must represent the entire line, not just a portion of a line.''{REMARKSBOX}
 +!! 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.
--=Related pages=-

* ((Wiki Plugins)


* ((Mods Type Wikiplugins))
+!!Related pages

{SORT()


* ((PluginTransclude

)
* ((

))

* (

PluginIframe))
*

(PluginIncludeTPL))
{SORT}

History

Advanced
Information Version
Yves Kipondo 50
godbout fix "max_times" wrong parameter to correct "max_inclusions" 49
Roberto Kirschbaum max_inclusions parameters since 18.2, not 18.3 48
Marc Laporte http://sourceforge.net/p/tikiwiki/code/65897 47
luciash d' being 🧙 clarification 46
luciash d' being 🧙 45
Philippe Cloutier remove information for versions prior to 3 44
Philippe Cloutier fix REMARKSBOX type 43
lindon 42
lindon 41
lindon 40
E.W. Peter Jalajas reverted 39
E.W. Peter Jalajas added Also known as PluginPage {PAGE}? 38
lindon 37
WizarDave Added a note that the start and stop must be entire lines not portion of a line. I struggled with this for several hours before figuring it out. :) 36
Louis-Philippe Huberdeau Code Plugin modified by editor. 35
Carsten Aevermann 34
Bernard TREMBLAY misprint 32
lindon fix include 31
lindon 30
lindon 29
lindon 28
Marc Laporte doesn't work with Semantic Aliases 27
Marc Laporte 26
AdamChan Plugin modified by editor. 25
campbe13 24
campbe13 23
campbe13 22
KaiiaK 21
KaiiaK 20
KaiiaK 19
KaiiaK 17
Scot Wilcoxon 'end' is 'stop' in 2.* 16
lindon 15
Marc Laporte 14
sylvie 13
lindon 12
Xavier de Pedro 11
Gary Cunningham-Lee Plugin modified by editor. 10
Gary Cunningham-Lee Plugin modified by editor. 9
Marc Laporte 8
Marc Laporte wiki transclusion 7
mlpvolt security issue: does include check perms? 6
mlpvolt add download link to svn 5
mlpvolt 4
mlpvolt 3
Xavier de Pedro 2
system created from structure 1

doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

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

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

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