icon

Versions Limiter

icon
Iñaki Muros Martínez
Data Modeling & Business Logic
An unexpected error occurred.
Description
Versions Limiter is a nonintrusive hook that allows you to limit the number of versions of the web contents.

You only need to set the "version.limiter.max.number.of.versions property" to the number of versions you want for your portal in your portal-ext.properties file (E.g: version.limiter.max.number.of.versions=3) and restart Liferay. That's all.

Features:

- When you publish a web content it'll check the number of versions of this content and it'll only keep the last "version.limiter.max.number.of.versions" versions
- Keep only the versions of a web content that you want.
- Transparent for the end-user.
- It doesn't overwrite any Liferay class or jsp.

Benefits:

- Save disk space in your database (especially in huge portals). Along time you can reach hundreds or thousands of versions of each web content . Are you sure you need so many versions? If the answer is no, this is your hook.
- Improve the performance of your portal. If your database is smaller its performance will be better. Pure logic. Believe me, you can reduce thousands and thousands of records in some database tables.
Liferay is trademark of Liferay, Inc., Liferay International Limited and/or Liferay Affiliate, registered in the United States and/or other countries.
Release Summary and Release Notes
Version Change Log Supported Framework Versions Date Added
1.1 Support for Liferay 6.2
Liferay Portal 6.2 EE GA1+
Liferay Portal 6.2 CE GA1+
2017-02-13
1
Liferay Portal 6.1 CE GA2+
Liferay Portal 6.1 EE GA2+
2013-10-03
DEVELOPER
Iñaki Muros Martínez
Published Date
February 13, 2017
Version
1.1
Supported Versions
6.2, 6.1
Edition
EE, CE
Price
Free
Help & Support
Terms & Conditions
SHARE LINK

Installation Instructions

This is a Legacy App that is no longer available in the new App Marketplace. You are able to acquire it from your installed DXP or CE instance and install it by following the instructions below.

Acquiring this App through the legacy Liferay Portal Store

  1. Review app documentation for any specific installation instructions.
  2. Login to your Liferay Portal instance with administrative permissions.
  3. Navigate to the Control Panel, Marketplace (or Apps for 7.3 and prior), then Store.
  4. If needed, login to your Liferay.com account by choosing Sign In.
  5. Search for the app name in the Search dialog.
  6. Once the app is found, click on the app in the search results.
  7. On the app details page, choose to acquire the app by selecting the Free, Buy, or Trial button.
  8. Follow the instructions on the screen to complete the acquisition.

Installing this App through legacy Liferay Portal Purchased Apps

  1. After acquiring the app, login to your Liferay Portal instance with administrative permissions.
  2. Navigate to the Control Panel, Marketplace (or Apps for 7.3 and prior), then Purchased.
  3. If needed, login to your Liferay.com account by choosing Sign In.
  4. Click the Install button to install your app on your Liferay Portal instance.

See the legacy App Marketplace help documentation for more information.