Safely Manage Different Versions of Content with Plone

2 min read

(For more resources on Plone, see here.)

Introducing versioning

Now that you have learned how to add various types of content, from pages to events to news items, we’re ready to introduce a feature of Plone called versioning, which is an important part of content management. The content items you work with in your Plone site may go through many changes over time. Plone provides versioning information to help you manage your content from the time it was initially created through to the current version.

By default, Plone provides versioning for the following content types:

  • Pages
  • News Items
  • Events
  • Links

Other content types can be configured to provide versioning through the Plone Control Panel under Types.

Although you may enable the File type to use versioning, the only changes that are tracked are those items actually describing the File (for example, Title, Description, and so on). The changes to the contents of the File are not tracked.

Creating a new version

Versions are created each time you save your content. Note that there is a Change note field at the bottom of the Edit page for content items with versioning enabled:

The information entered in the Change note field will be stored along with other versioning information, which you are able to view through the History tab.

Viewing the version history

You can view the list of all of the versions of a content item by clicking on the History tab for that content item. In the History view that you can see in the following screenshot, the most recent version is listed fi rst. Clicking on any of the column headers will re-sort the listing based on that column heading.

The most current version is always labeled Working Copy in the History view.

Previewing previous versions

To preview a specific version, simply click the preview link of the desired revision. In the following example, revision 3 has been identified, and will be displayed if this link is clicked:

On the subsequent page, you may either click on the jump down link to the point of the content preview:

or you may scroll down the page in order to see the actual preview:

Packt

Share
Published by
Packt

Recent Posts

Top life hacks for prepping for your IT certification exam

I remember deciding to pursue my first IT certification, the CompTIA A+. I had signed…

3 years ago

Learn Transformers for Natural Language Processing with Denis Rothman

Key takeaways The transformer architecture has proved to be revolutionary in outperforming the classical RNN…

3 years ago

Learning Essential Linux Commands for Navigating the Shell Effectively

Once we learn how to deploy an Ubuntu server, how to manage users, and how…

3 years ago

Clean Coding in Python with Mariano Anaya

Key-takeaways:   Clean code isn’t just a nice thing to have or a luxury in software projects; it's a necessity. If we…

3 years ago

Exploring Forms in Angular – types, benefits and differences   

While developing a web application, or setting dynamic pages and meta tags we need to deal with…

3 years ago

Gain Practical Expertise with the Latest Edition of Software Architecture with C# 9 and .NET 5

Software architecture is one of the most discussed topics in the software industry today, and…

3 years ago