Autosave

edmund.kwok - September 30, 2006 - 03:45

The autosave module automatically saves a snapshot of your content type form using AJAX. If the user's browser or machine dies while editing a node; the edits will be presented to the user the next time they return to the node. The user may toggle back and forth between the last saved version and the version with the edits that were lost and select which of these they would like to continue with.

How often a form is autosaved as well as which content types to enable autosave for are admin configurable.

This module requires:
jQuery Update (Drupal 5 version only)
jQuery Field Plugin (modified version included with module)

5.x-3.x version added to CVS

Major fixes/modifications done by liquidcms sponsored by LifeWire.com (a NY Times Company). Referenced in various issues in the issue tracker.

- fix issues with operation in IE7
- provide support for TinyMCE
- clean up autosave table after successful submit of node
- fix autosave validate bug on submit
- add support to enable autosave for specific node types
- fix issue of wrong form_id when VIEW->IGNORE

NOTE: this "branch" of autosave does not save all the forms on a page - it only saves the form used to do a node edit. I think version 5.x-2.x may have done this; but not sure it was working correctly. Part of the JS code to allow for multiple forms is still in place - if someone wants to complete this feature, any help would be appreciated.

6.x-2.x Version

NOTE: if used with JS editor requires latest dev version of WYSIWYG module and patch listed below.

- 6.x-2.0 version is a complete re-write to remove dependencies on TinyMCE.
- this version is now tied to the WYSIWYG module and currently is known to work with FCK, CK and TinyMCE 3.0 editors but requires the 6.x-2.x-dev version of WYSIWYG with this patch: http://drupal.org/node/614146#comment-2193764; this patch should be committed soon and will
eventually be expanded to include other editors.

NOTE: I am not sure what if any improvements were made to the code when someone submitted a version for me to release as 6.x-1.1. Sorry, but i started from existing current release of D5 version of module - so any additions will have been lost. If new features added; let me know and i can see if they fit into the 2.x release.

Drupal 6 release funded by ConsumerSearch.com, a NY Times Company. Also, thanks to jide for providing required WYSIWYG patches for this.

TODO:

Would likely not be a bad idea to have a theme function to allow developers to theme Autosave's popup form. Feel free to contribute a patch for this.

Releases

Official releasesDateSizeLinksStatus
6.x-2.52009-Nov-0615.87 KBRecommended for 6.xThis is currently the recommended release for 6.x.
5.x-3.22008-Jul-2017.31 KBRecommended for 5.xThis is currently the recommended release for 5.x.


 
 

Drupal is a registered trademark of Dries Buytaert.