Fullscreen
[Show/Hide Left Column]
[Show/Hide Right Column]

Create tabs for showing alternate versions of content
3d browser Print

Plugin Versions

If you are documenting software, you will run into the situation where most of a page is similar for more than one version, but there could be a small difference. Making several pages could lead to duplicating content and that it be out of sync.

Use this Wiki Plugin to divide a wiki page into separate "versions." Tiki will display a navigation box that allows users to display each version of the page.

For example, you can use this plugin to separate a single wiki page into Release 1, Release 2, and Release 3 information.


Usage

To display a module in a wiki page, use the syntax:
{VERSIONS(nav=>y,title=>y)}

This is the default text

---(version 3)-----------------------------

This is version 3 info

---(version 2)-----------------------------

This is version 2 info

---(version 1)-----------------------------

This is version 1 info

{VERSIONS}



ParameterAccepted valuesEffectSince
nav y, n Displays a navigation box that allows users to select a specific version to display.
If nav=y, only the default text will display and users will not be able to display other versions.
title y, n Display the current version name as the title. Note: Do not work when nav=>y
default Specifies which version to show when displaying the page for the first time.


To separate different versions of text use: 3 dashes (hyphens), followed by the version label in parenthesis, followed by at least 3 other dashes or hypens. For example:
---(version 3)-----------------------------


Notes

  • If you use Wiki Config wiki page caching, this plugin may not render properly.
  • The "versions" used for this plugin are different than the "versions" stored in the wiki page history.



Example

This code,
{VERSIONS(nav=>y,title=>y)}

This is the default text

---(version 3)-----------------------------

This is version 3 info

---(version 2)-----------------------------

This is version 2 info

---(version 1)-----------------------------

This is version 1 info

{VERSIONS}


Would produce:


This is the default text






More Examples


Sample usage in conjunction with PluginTracker and PluginTrackerList:

Default text: Formulari, using PluginTracker


Alternate version: Mostra les pre-inscripcions ja realitzades, , using PluginTrackerList






Related pages

Note
http://support.mozilla.com/en-US/kb/Using+Firefox (external link) uses a modified version of this plugin to show different content per Operating System.


Historical
  • This plugin was introduced in Tiki Release 1.9rc3, and is available in all versions of 1.9.x and 1.10.x
  • Prior to Tiki 1.9.8, this plugin worked with only 2 versions.

Contributors to this page: lindon1701 points  , Vypero5 points  , ricks994323 points  , xavidp820 points  , dthacker1232 points  , mlpvolt1662 points  and marclaporte4510 points  .
Page last modified on Saturday 06 March, 2010 06:14:24 UTC by lindon1701 points .

To register

To have an account at this site, please register at Tikiwiki.org (external link), and then use that user name and password to log in here.

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):

Accessibility (WAI – 508)
Action log 2.x
Alert 3.x
Articles & Submissions
Backlinks
Banners
Blog
Bookmark
Browser Compatibility
Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts Address book
Contact us
Content template
Contribution 2.x
Cookie
Copyright
Custom Home (and Groups Home Page)
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tikiwiki.org (Help System)
DogFood
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, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interaction
Inter-User Messages
InterTiki
Karma
Live Support
Login
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profile Manager
Quicktags
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Security
Semantic links 3.x
Shadowbox
Shoutbox
Slideshow
Smarty Template
Smiley
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
System log
Tags 2.x
Task
Tell a Friend + Social Bookmarking 2.x
TikiTests 2.x
Theme
Trackers
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
Webmail
Webservices
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval 2.x
Wiki Plugins extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
WYSIWYCA
WYSIWYG 2.x
XMLRPC