Code Rhapsodie Ez Autosave Bundle

Autosave bundle for eZPlatform

Code Rhapsodie Ez Autosave Bundle

This bundle adds a simple autosave feature for eZPlatform.

Version 1 is for eZPlatform 2. Version 2 is for eZPlatform 3 (Ibexa Content).

Client-side only, browser storage is used to save content state. No JS librairies required.

Features

While creating or editing a content, its fields values will be regularly saved.

To load saved values, simply create a new content of the same content type, or edit the same content, and you will be asked if you want to restore saved values.

Installation

Add the dependency

To install this bundle, run this command :

$ composer require code-rhapsodie/ezautosave-bundle

Register the bundle

Add CodeRhapsodie\EzAutosaveBundle\CodeRhapsodieEzAutosaveBundle::class => ['all' => true], in the config/bundles.php file, just before the EzPlatformAdminUiBundle line.

Like this:

<?php

return [
     // ...
    CodeRhapsodie\EzAutosaveBundle\CodeRhapsodieEzAutosaveBundle::class => ['all' => true],
    EzSystems\EzPlatformAdminUiBundle\EzPlatformAdminUiBundle::class => ['all' => true],
    // ...
];

Issues and feature requests

Please report issues and request features at https://github.com/code-rhapsodie/ezautosave-bundle/issues.

Contributing

Contributions are very welcome. Please see CONTRIBUTING.md for details. Thanks to everyone who has contributed already.

License

This package is licensed under the MIT license.

Created by:

Categories:

Downloads:

1

Stars:

0

Forks:

0

Created:

Updated: