
Do you work with clumsy people? Are you a clumsy person yourself? If so, then Revisions might be the solution for you. Revisions is a quick and easy way to save a copy of every Drupal content item when you make a change. In reality, Revisions is not only useful for clumsy people but also for organizations that have a lot of content creators and for many government agencies who have record keeping rules to follow. In this tutorial, we'll give you an introduction to the core Revisions features and then show you some useful extra modules. Enabling RevisionsRevisions are enabled per each content type.
![]()
![]()
![]()
![]()
![]() DiffThere are some key limitations to the way Drupal handles revisions by default. Perhaps the most important is that you can't easily what was changed in each revision. The solution for that is the Diff module: http://drupal.org/project/diff. Instal Diff and your Revisions tab will now allow you to select two versions to compare: ![]() Here is how the actual comparison appears on the screen: ![]() RevisioningAnother useful addition feature is the ability to moderate all revisions. Using the Revision module ( http://drupal.org/project/revisioning ) it is possible to put all revisions into "draft" status. By default, this is enabled only for live content on your site, so you can make sure no unwanted changes are published. ![]() Revision AllRevision All is a useful module for site administrators: http://drupal.org/project/revision_all. This allows you to easily force revisions to be used for all current and future content types. You can also disable the "Create new revision" box so that content creators aren't able to uncheck it and avoid saving a revision. ![]() One Key LimitationOne important limitation with revisions in Drupal 7 is the lack of a way to automatically delete old revisions. The Revision Deletion module was available for D7 and D6 but hasn't been update for D7: http://drupal.org/project/revision_deletion/. If you have a large site and end up storing a lot of revisions, you may well need to find a solution for clearing the node_revision table in the database. One possibility, for advanced users, is here: http://drupal.org/sandbox/darthsteven/1468938. |

With Admincredible you can update and manage all your Joomla sites. If you have 5 or 500 sites, Admincredible will make your life easier! Visit Admincredible.com.
All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:
Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.
Copyright 2013 Open Source Training, LLC. All rights reserved.
Comments
I'll see if can follow up with a blog post on a better solution for only clearing older versions.