DocVersion (legacy version)

DocVersion (legacy version)
plg_content_docversion_1.00.0003_110529_1653.zip
Version:
1.00
License:
Author:
Date:
02 October 2015
Downloads:
5669 x

Joomla! 1.7Joomla! 2.5 DocVersion is the content plugin to support multiple versions within a single content item.

You can select the version to display on the fly by adding a parameter to your page's URL.

This could be useful if you want to publish your software or any other versioned porducts' documentation on your Joomla! site—single document covering any of the available product versions.

Installation

Follow the normal Joomla! installation procedure. The installation package is compatible with both Joomla! 1.5 and Joomla! 1.6/1.7/2.5.

Usage

With DocVersion, you use {docversion:versiondef}{/docversion} tags to hide the parts of your article unless the version they are attached to matches the version your user requests.

The versiondef parameter can be one of the following:

  • startversion — the passage describes the feature introduced in a given version. E.g., {docversion:1.0}This feature was introduced in version 1.0{/docversion}
  • startversion-endversion — the passage describes the feature available since the startversion and excluded in the endversion. E.g., {docversion:1.0-1.5.5}This feature was introduced in version 1.0 and was excluded in version 1.5.5{/docversion}
  • -endversion — the passage describes the feature excluded in a given version. E.g., {docversion:2}This feature was excluded in version 2.0{/docversion}

Requesting the document version

To request the specific version of document, add the docver=version parameter to your article URL: http://example.com/index.php?option=com_content&view=article&id=1&Itemid=2&docver=2.0

If you omit the docver parameter, the latest version of document will be shown.

 
 
 
Powered by Phoca Download