Path

ez projects / ezautosave


eZ Autosave (formerly QH Autosave)

UNIX name Owner Status Version Compatible with
ezautosave Quoc-Huy NGUYEN DINH beta 1.0beta6 4.x
A small extension that enables auto saving content editing form in ez publish.

eZ loved Huy's idea and integrated this into eZ Publish. eZ and Huy are now working together on the feature.

You are invited to join the team. Here are useful resources :


Requirements:

Installation:

  1. install the ezpkg and activate the 3 extensions qhautosave, qhjsiniloader & qhnotifications.
  2. Then re-generate the autoloads
  3. clear the cache.

The extension is mainly javascript and does not require any template overriding. Just plug 'n play...

Although there are three extensions to install, they are very small and both packaged in a single combo ezpkg file.

Currently configured to auto-save the draft every 15 seconds.

How it works:

qhjsiniloader is used to customise the extension (use of translation, autosave interval etc...) by loading a standard eZ Publish INI file using ezjscore

qhnotifications is used to display notifications messages regarding the autosave process.

qhautosave works by posting the current editing form asynchronously, it has the same effect as clicking on the 'Store draft' button except that it won't reload the page.

Known issues:

It currently cannot auto-save file upload fields, but that is not a big issue as if you've already uploaded the file then it is already saved. It's only for files where you have selected a file but haven't yet uploaded.

Installation video & demo:

http://screencast.com/t/gBBVEeOUPv

Changes:

  • in v1.0beta10
    • minor bug fixes related to translations
    • added workaround, if in the frontend, jQuery is loaded after qhautosave
  • in v1.0beta9
    • Merge pull request #1 from websoftix/patch-1 for typo fix
  • in v1.0beta8 (in GitHub):
    • qhautosave.js now uses js class
  • in v1.0beta7 (in GitHub):
    • experimenting autosave for the website tool bar (ezwt)
  • in v1.0beta6:
    • added french translations
    • bug fixes
  • in v1.0beta5:
  • in v1.0beta4:
    • bug fixes
  • in v1.0beta3:
    • override qhautosave.ini to set your autosave interval time and choose the notification method
  • in v1.0beta2: 
    • Added warning when the user leaves the page without actioning a button
    • Stop autosave if a button has been clicked

GitHub:

https://github.com/quochuy/qhautosave

https://github.com/quochuy/qhjsiniloader

https://github.com/quochuy/qhnotifications

Screenshot

QH Autosave extension for eZ Publish
QH Autosave extension for eZ Publish

Average rating 4.67 by 3 reviewers.