Wiki Plugins
Tiki's wiki plugins are powerful extensions to the basic wiki syntax that allows you to embed features and interactive data and functions in any wiki text area in your Tiki site. This includes wiki pages, blogs, articles, forums, and so on... nearly every feature!For example, you can use wiki plugins to:
- Show images, and play videos or audio files
- Arrange content in rows and columns and create specially formatted tables and boxes
- Automatically build a table of contents, display backlinks, or redirect visitors to other pages
- Display charts, gauges, drawings, and maps
- Display user and tracking information, query databases, or show information from other pages
- And much more.
Even though they are called plugins, nearly all are included with the default Tiki installation. There are no additional "add-ons" to be installed in order to use these plugins.
Most plugins are enabled by default. For the others, simply enable them from the Text Area Admin page. Starting in Tiki3, some plugins require admin-level approval before becoming "live" on a page.
Plugins are also easy to develop - see Create a Plugin for some tips on how to get started.
Table of contents
Distributed Plugins Documented on This Site
- PluginAddFreetag : Add an input field so users can add a freetag to an object
- PluginAddRelation : Create a button a user can use to add or remove a relation between objects
- PluginAddToCart : Display a button for adding items to the shopping cart
- PluginAddToGoogleCal : Add a calendar item to a Google calendar
- PluginAdjustInventory : Adjust the inventory level of a product
- PluginAgentinfo : Show user's browser and server information
- PluginAlink : Create a link to an anchor in a wiki page.
- PluginAname : Place an anchor in a wiki page that can be linked to
- PluginAnnotation : Annotate an image
- PluginAppFrame : Create a frame in which to assemble custom applications
- PluginArchiveBuilder : Define an archive that can be downloaded
- PluginArticle : Display a component of an article in a wiki page
- PluginArticles : Display multiple articles in a wiki page
- PluginAttach : Display an attachment or a list of attachments
- PluginAttributes : Assign generic attributes to the current object
- PluginAuthor : Add pop-ups and color coding that identifies authors
- PluginAvatar : Display a user's avatar
- PluginBack : Create a link that goes back one page in the browser history
- PluginBacklinks : List all pages that link to a particular page
- PluginBanner : Add a banner to a wiki page
- PluginBigBlueButton : Hold a video/audio/chat/presentation session using BigBlueButton
- PluginBlipTV : Display a BlipTV video
- PluginBloglist : Display posts from tiki blogs on the site
- PluginBox : Create a box with a title bar
- PluginButton : Add a link formatted as a button
- PluginCalendar : Display a calendar and its events in a wiki page
- PluginCarousel : Display images in a self-advancing carousel
- PluginCartMissingUserInfo : Check completeness of user input for a shopping cart transaction
- PluginCategory : List categories and objects assigned to them
- PluginCategoryTransition
- PluginCatOrphans : List uncategorized wiki pages
- PluginCatpath : Show the full category path for a wiki page
- PluginCenter : Center text
- PluginChart : Display a chart from TikiSheet
- PluginCode : Display code syntax with line numbers and color highlights
- PluginColorbox : Display a gallery of images in a popup slideshow
- PluginContent : Display content from dynamic content repository
- PluginContributionsDashboard
- PluginConvene : Agree a date from a list of alternatives
- PluginCookie : Display a tagline or cookie
- PluginCopyright : Insert a copyright notice
- PluginCountdown : Show the time until or after a date and time
- PluginCustomSearch : Create a custom search form for searching or listing items on the site
- PluginDataChannel : Display a form to access data channels
- PluginDBReport : Query an SQL database and display results
- PluginDialog : Create a custom pop-up dialog box
- PluginDiv : Defines and formats sections of a page or text.
- PluginDl : Creates a definition list
- PluginDraw : Embed a drawing in a wiki page
- PluginEquation : Renders an equation written in LaTeX syntax as an image.
- PluginEvents : Display upcoming events from calendars
- PluginExercise : Create an exercise for a user to complete and grade
- PluginExtendCartHold
- PluginFade : Creates a fade-in/fade-out effect on a text
- PluginFancylist : Creates a fancy looking list
- PluginFancyTable : Create a formatted table
- PluginFavorite : Display a button for a user to click to make an object a favorite
- PluginFile : Link to a file that's attached or in a gallery or archive
- PluginFiles : List files by ID, gallery or category, or show a slideshow of image files
- PluginFlash : Embed a video or audio file in a wiki page
- PluginFont : Format the font type and size of text
- PluginFootnote : Create automatically numbered footnotes
- PluginFootnotearea : Create automatically numbered footnotes
- PluginFreetagged : List similarly tagged objects
- PluginFtp : Create a button for downloading a file from an FTP server
- PluginGalleriffic
- PluginGauge : Display a horizontal bar gauge
- PluginGetAccessToken : Display a link on a secure page using an access token
- PluginGoogleAnalytics : Add the tracking code for Google Analytics
- PluginGoogleDoc : Include a Google Docs document.
- PluginGoogleMap : Display a Google Map
- PluginGroup : Display content based on the user's groups or friends.
- PluginGroupExpiry : Show the expiration date of a group the user belongs to
- PluginGroupList : List all groups or just groups including a certain group
- PluginGroupMailCore : Display GroupMail functions on a wiki page
- PluginGroupstat : Show the distribution of users among groups
- PluginHTML : Add HTML to a page
- PluginHtmlFeed : Share content between Tiki sites
- PluginHtmlFeedLink
- PluginIframe : Include the body of another web page in a scrollable frame within a page
- PluginImage : (deprecated in Tiki5) Displays an image
- PluginImg : Display one or more custom formatted images
- PluginInclude : Include a portion of another wiki page
- PluginInvite : Invite a user to join your groups
- PluginJabber : Chat using Jabber
- PluginJq : Add JQuery Javascript code
- PluginJS : Include Javascript code or files
- PluginKaltura : Display a video created through the Kaltura feature
- PluginLang : Vary text based on the page language
- PluginLastmod : Show the last modification date for a page
- PluginPageTabs
- PluginList : Search for, list, and filter all types of items and display custom formatted results
- PluginListpages : List pages based on various criteria
- PluginLsDir : List files in a directory
- PluginMail : Directly mail other users or groups
- PluginMaketoc : Automatically generate a table of contents for a page based on page headings
- PluginMap : Display a map created using the Map feature
- PluginMcalendar : Convert a Gregorian date to a Mayan calendar date
- PluginMediaPlayer : Add a media player to a page
- PluginMemberList : List and allow editing of group members
- PluginMemberPayment : Receive payment from a user to extend membership to a group
- PluginMiniQuiz : Create a quiz using a tracker
- PluginModule : Display a module in a wiki page
- PluginMono : Diplay text in a monospace font
- PluginMouseover : Display hidden content by mousing over a link
- PluginMWTable : Display a table using MediaWiki syntax
- PluginMySpace : Display a MySpace Flash mp3 playlist
- PluginNow
- PluginObjecthits : Display the number of hits for certain objects
- PluginPayment : Show details of a payment request or invoice
- PluginPerm : Display content based on permission settings
- PluginPluginManager : List wiki plugins info for the site
- PluginPoll : Display a poll
- PluginProfile : Add a button for installing a profile
- PluginProposal : Allow users to vote on a proposal and see the results
- PluginQuote : Format text as a quote
- PluginR : Execute R commands and show results
- PluginRandominclude : Include a random page's content
- PluginRcontent : Display pre-programmed changing content
- PluginRealnamelist : Show user real names for members of a group
- PluginRedirect : Redirect to another page
- PluginRegex : Perform a regular expression search and replace
- PluginRegex Example : This page supports the PluginRegex page
- PluginRelations : Display the relation of an object to the rest of the site
- PluginRemarksbox : Display a comment, tip, note or warning box
- PluginReport
- PluginRSS : Display items from an RSS feed
- PluginScroll : Show animated text that scrolls up or down
- PluginSharethis : Add a ShareThis button
- PluginSheet : Display data from a TikiSheet
- PluginShowpages : Find pages by searching within page names
- PluginSkype : Call or chat with a Skype user
- PluginSlider : Create a mini-slideshow of content on a page
- PluginSlideshow : Create a slideshow from the content of a wiki page
- PluginSmarty : Insert a Smarty function
- PluginSnarf : Display contents of another web page
- PluginSort : Sort lines of text
- PluginSplit : Easily arrange content on a page into rows and columns
- PluginSQL : Query a MySQL database and display the results
- PluginStat : Show various statistics for an object
- PluginSub : Applies subscript font to text
- PluginSubscribeGroup : Allow users to subscribe to a group
- PluginSubscribeGroups : Allow users to subscribe to a list of groups
- PluginSubscribeNewsletter : Allow users to subscribe to a newsletter
- PluginSup : Applies superscript font to text
- PluginTabs : Arrange content in tabs
- PluginTag : Apply an HTML tag to content
- PluginThumb : (deprecated with 5.0) Display a thumbnail
- PluginTimeline : Display a timeline
- PluginTitleSearch : Search page titles
- PluginTimesheet : Use the timesheet feature in a wiki page
- PluginToc : Display a table of contents of pages or sub-pages
- PluginTr : Translate text to the user language
- PluginTracker : Create a form in a wiki page (to populate a tracker)
- PluginTrackerIf : Test a tracker field value
- PluginTrackerFilter : Create a form to filter tracker fields
- PluginTrackerItemCopy
- PluginTrackerItemField : Display or test the value of a tracker item field
- PluginTrackerList : List, filter and sort the items in a tracker
- PluginTrackerPasscode
- PluginTrackerPrefill : Create a button to prefill tacker fields
- PluginTrackerStat : Display some statistics about a tracker.
- PluginTrackerTimeline : Show a timeline view of a tracker
- PluginTrackerToggle : Show or hide tracker content
- PluginTextlink
- PluginTrade : Send payments between members using cclite
- PluginTransclude : Include the content of another page with certain changes
- PluginTranslated : Create multi-lingual links
- PluginTwitter : Display the activity for a twitter account
- PluginUsercount : Display number of users for a site or group
- PluginUserlink : Display link to tiki user page
- PluginUserlist : Display a list of users
- PluginUserpref : Display contents based on user preference settings
- PluginVersions : Create tabs for showing alternate versions of content
- PluginVote : Create a tracker for voting
- PluginVotings : Save voting information in Smarty variables for display
- PluginWantedPages : Show location of links to pages not yet created
- PluginWatershed : View a UStream Watershed video
- PluginWebservice : Display remote information in JSON, YAML or SOAP XML format
- PluginWMV : Play a movie with Windows Media Viewer
- PluginWYSIWYG
- PluginYouTube : Embed a YouTube video in a page
When in the edit window of a page, click on the
icon and then click on 'Plugins help' for a list of plugins and their descriptions with buttons for inserting the syntax and linking to the documentation.
Site Settings for Plugins
Enabling Plugins
If not enabled by default, the site administrator must enable a plugin before it can be used by (since 3.0) going to Admin Home > Editing and Plugins > Plugins (tab) and checking the "Enable" box of that plugin and clicking "Change Preferences."Enable Edit Plugin Icons
On the same tab (Admin Home > Editing and Plugins > Plugins (tab)), a feature called "Enable edit plugin icons" can be enabled, which will place anToggle Plugin Edit Icons
Also, "Toggle display of section and plugin edit icons" can be enabled (at Admin Home > Wiki > General Preferences (tab) > Edit (section)). This will place an icon at the top of every page for turning section and plugin edit icons on or off with a single click (Plugin Security
Plugins that are a potential security risk require approval by an administrator before they can be used - a notice will appear when that's the case.Pending approval notification
Since Tiki7.0, there is a setting called "Plugin pending notification" in "Admin home > Editing and plugins > Plugins (tab)", which allows users in groups with the permission tiki_p_plugin_approve to receive an email notification each time a new plugin call is added in a wiki page as pending approval.Distributed Plugins versus Mods
Most plugins are bundled with the rest of the tiki software. The list of bundled plugins varies with each Tiki version - please see All Plugins for which are available from version 2.0 on. The table of contents above is to the documentation for distributed plugins.Some plugins are not installed by default with your tiki installation. They can be installed separately as a Mod. See Mods Type Wikiplugins for a list of these and links to their documentation, and see Mods User for information on how to install them.
Plugin Syntax
The way plugin syntax works in general is described below. The individual documentation page for a plugin also gives examples of the specific syntax for that plugin.Regular Syntax
Most plugins have "begin" and "end" tags and use the following syntax:{PLUGINNAME(parameter1=value1|value2, parameter2=value)}
content affected by plugin and called body or data
{PLUGINNAME}- Avoid spaces: No spaces in or around the tag names or parameter values
- Case sensitive: Tags must be in all caps for regular syntax plugins
- Ending tag: For some plugins, a forward slash can be used instead of a closing tag as follows:
{AGENTINFO(info=>IP) /} instead of {AGENTINFO(info=>IP)}{AGENTINFO}
This shortcut won't work for plugins that require text in the body of the plugin (between the tags).
- Parameters:
- For regular syntax plugins, parentheses are always necessary even if no parameters are set. For example: {CODE()}
- Parameters are separated by commas, values within a parameter are usually separated by vertical bars (|) (but check the documentation for that plugin to be sure)
- Either = or => can be used to separate parameters from values
- Parameter values may be enclosed in single or double quotes, but don't have to be. Example:{CODE(wrap="1")}
- Parameters you don't specify may be set to a default - check the documentation for that plugin for more information.
Special Syntax
The following plugins use a slightly different syntax: PluginBanner, PluginContent, PluginCookie, PluginDraw, PluginImg, PluginMaketoc, PluginRSS, PluginTOC.Here's what's different about the syntax for these:
- Only one tag, and it's in lower case
- No parentheses for the parameters are needed
- For example:
{toc} instead of {TOC()}{TOC}
{toc type=fancy} instead of {TOC(type=fancy)}{TOC}
After tiki6, this short syntax can be used for any plugin without body
Example of valid syntax
{tracker trackerId=1}
Related Pages
- All Plugins
- Plugin Security - regarding enabling and approving plugins
- Plugin Help - illustration of plugin help for version 3.0
- Plugin Alias - powerful feature that allows you to configure plugins with your own defaults
- For developers: Create a plugin, Hello World#To_create_a_plugin
