melisplatform / melis-cms-page-historic
Melis Platform CMS page historic module
Installs: 2 923
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 8
Forks: 0
Type:melisplatform-module
Requires
- php: ^8.1|^8.3
- melisplatform/melis-cms: ^5.2
- melisplatform/melis-core: ^5.2
- melisplatform/melis-engine: ^5.2
- melisplatform/melis-front: ^5.2
- dev-master
- v5.3.0
- v5.2.0
- v5.1.0
- v5.0.1
- v5.0.0
- v4.1.0
- v4.0.1
- v4.0.0
- v3.2.1
- v3.2.0
- v3.1.0
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.4.0
- v2.3.0
- v2.2.1
- v2.2.0
- v2.1.1
- v2.1
- dev-update/jquery3.7.1
- dev-develop
- dev-update/php83
- dev-update/utf8mb4
- dev-update/php-8-upgrade
- dev-fix/perf
- dev-migrate/laminas
- dev-zend-old-version
This package is auto-updated.
Last update: 2024-10-25 05:28:29 UTC
README
MelisCmsPageHistoric provides an historic system for MelisCms' page edition.
Getting Started
These instructions will get you a copy of the project up and running on your machine.
This Melis Platform module is made to work with the MelisCms.
Prerequisites
You will need to install melisplatform/melis-cms in order to have this module running.
This will automatically be done when using composer.
Installing
Run the composer command:
composer require melisplatform/melis-cms-page-historic
Database
Database model is accessible on the MySQL Workbench file:
/melis-cms-page-historic/install/sql/model
Database will be installed through composer and its hooks.
In case of problems, SQL files are located here:
/melis-cms-page-historic/install/sql
Tools & Elements provided
- Historic Page Edition Tab
Running the code
Listening to services and update behavior with custom code
Most services trigger events so that the behavior can be modified.
public function attach(EventManagerInterface $events)
{
$sharedEvents = $events->getSharedManager();
$callBackHandler = $sharedEvents->attach(
'MelisCms',
'meliscms_page_delete_end',
function($e) {
$sm = $e->getTarget()->getServiceManager();
$params = $e->getParams();
// Custom Code
},
50);
$this->listeners[] = $callBackHandler;
}
Authors
- Melis Technology - www.melistechnology.com
See also the list of contributors who participated in this project.
License
This project is licensed under the OSL-3.0 License - see the LICENSE.md file for details