Versioning of content – A first look at a new feature in Joomla 3.0

That’s right! Versioning content ! And it’s not just content versioning for core Joomla, but the API, which will be available for extension developers to use this feature in their extensions.

In this article, we will touch upon the initial information and then move on to the screenshots versioning of content, its current interface and features. At the end of the article we will provide information on how you can test the latest development version and you can leave a review about this opportunity.

Background information

One of the best things about the new strategy for the development of Joomla is that it is adding new features every 6 months, but with the condition that these new opportunities will not break the current capabilities.

In Joomla 3.1 have been added to the dynamic tags, which have been very marketable opportunity. Release of Joomla 3.2 is scheduled for November 2013, and although at the moment we do not know for sure what features will be added, similar to what content versioning fall into this release. This is supported by the fact that the development has started already, and the code is stable enough.

If someone is not familiar with versioning of content, let’s quickly look at it. Versioning content is more commonly known as version control, and is a form of control. It is the ability to save previous versions of articles and other content, and if it crashes, you determine when it was made and how to cancel it. For example, if someone mistakenly delete a paragraph or ruin the formatting of article, it can be returned to the previous working version. Some content versioning system also allow us to compare previous versions.

So, armed with the information received, go to the fun part – the screenshots.

Saving versions

Saving versions will be carried out automatically (if enabled), but you can optionally specify the version.

version-control-1

 

Access to versions

At the moment the button “Prior Versions” is inside the main content area, but it will be moved to the toolbar to provide consistency between the extensions.

version-control-2

 

Version history

version-control-3

 

Versions are arranged in descending order and the latest version is the first one. To return to what either version, select it and click the button “Load Version”. By doing this, you will not lose any of your versions, so you can freely download any version.

There’s also a button “Preview Version” for predominant version before loading it.

In the following screenshot, we will demonstrate the ability to compare versions.

version-control-4

 

To compare the two versions, select the two versions that you want to compare and then click on the “Compare Versions”.

version-control-5

 

In the left column of the first selected version, the middle column is the second version, and the third column shows the difference between the two versions. We will increase the third column, so you better than she looked.

version-control-6

 

As you can see, it highlights the changes for you so that can be more easily identify what has changed. Green light notes added in the second version, while removing red marks in the second version.

General settings versioned content

Versioning content currently has two options: “Saving History” and “Maximum number of versions.”

version-control-7

 

Preserving history turns on / off versioning of content. The maximum number of versions determines how many versions to keep before deleting the old version (so that they do not take up space in the database).

Version Control with front end

At the moment, the changes being made to the front end automatically saved, but so far there is no way to roll back, watch or compare versions. This feature should be added in the future.

This concludes our overview of versioning of content. The only thing that you could not see in the screenshots, it’s how fast it works. We were pleasantly surprised at how fast the page loaded when saving, rollback, Preview and comparison.

Do you want to test versioning of content?

If you want to test a new feature and provide feedback, here’s what to do:

  1. Download the latest development version https://github.com/dextercowley/joomla-cms/archive/versions-3.zip
  2. Install as usual Joomla
  3. Thoroughly test and record your observations
  4. Create an account on the JoomlaCode ( http://joomlacode.org/gf/account/?action=UserAdd ), if you do not already have it (for free).

Testing and feedback is a great opportunity to influence the work on a new opportunity to make their contribution to the development of Joomla.

Leave a Reply