📊 State of Magento 2025

The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

606 Modules
384 Ready
219 Need Help
🏆 Leaderboard
Unknown

Magento 2 CMS Versioning

grinet/cms-version

Tracks changes to CMS Pages and Blocks, creating versions before each save. Allows administrators to view version history and restore previous versions.

0
Downloads
0
GitHub Stars
-
Last Release
0
Open Issues
Not Tested
Awaiting results

Build Tests

Composer Install
DI Compile
Templates

Code Quality

Coding Standard
PHPStan

Recent Test History

Each release is tested against the latest Magento version at that time.

No test history available yet.

Share This Module's Status

Magento 2 CMS Versioning Magento compatibility status badge

README

Loaded from GitHub

Magento 2 CMS Versioning (Grinet_CmsVersion)

License: MIT Magento 2.4

A powerful Magento 2 module that automatically tracks changes to CMS Pages and Blocks. It captures the state of content before every save, including detailed administrator metadata, and provides a seamless restoration process.

Features

  • Automatic Backups: Automatically creates a version of a CMS Page or Block before any modifications are saved.
  • Detailed Metadata: Tracks who made the change, from which IP address, and at what time.
    • Admin User ID
    • Admin Username
    • Admin IP Address
    • Creation Timestamp
  • Version History Grid: Integrated directly into the CMS Page and Block edit forms.
  • One-Click Restore: Revert to any previous version with a single click.
  • ACL Permissions: Granular control over who can view and restore versions.
  • Store-Aware: Correctly handles store associations during backup and restoration.

Requirements

  • Magento 2.4.x
  • PHP 7.4 | 8.1 | 8.2 | 8.3

Installation

Via Composer (Recommended)

composer require grinet/module-cms-version
php bin/magento setup:upgrade
php bin/magento cache:flush

Manual Installation

  1. Download the module and extract it to app/code/Grinet/CmsVersion.
  2. Run the following commands:
php bin/magento module:enable Grinet_CmsVersion
php bin/magento setup:upgrade
php bin/magento cache:flush

Usage

  1. Navigate to Content > Elements > Pages or Blocks.
  2. Edit any existing item.
  3. After saving changes, scroll to the bottom of the page to find the Version History section.
  4. You will see a list of previous versions.
  5. Click Restore on any version to revert the content and settings to that specific point in time.

Permissions

You can manage access to this module under System > Permissions > User Roles:

  • Grinet_CmsVersion::view: Allows viewing the version history grid.
  • Grinet_CmsVersion::restore: Allows restoring a previous version.

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

Support

For any issues or feature requests, please open an issue on the GitHub repository.


Developed by Grinet and Hidayet OK

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.