= Data Saver Plugin = == Description == Prevents unsaved form data loss by providing a restore button to ~~ the meta-navigation bar~~ context-navigation ^![1]^. [[Image(ticket:7518:datasaver_screenshot_2-0-0_ctxtnav-patched.png)]] [[BR]]Screenshot of `Restore Form` link with German localization provided by DataSaverPlugin within Trac 0.12 ^![1]^ Moved recently in changeset [8702], see ticket #7518 for details. == Bugs/Feature Requests == If you have any issues, check existing bugs and feature requests for !DataSaverPlugin [http://trac-hacks.org/query?status=new&status=assigned&status=reopened&component=DataSaverPlugin&order=priority here] [[BR]]and take care of closed tickets as well. In case this is a new issue, you're welcome to create a [http://trac-hacks.org/newticket?component=DataSaverPlugin&owner=hasienda new ticket]. Patches welcome in favor of complete files, in case you have already developed some better code. Include version, if patch is ''not'' against current stable release or `trunk` development version. == Download == Download the zipped source from [download:datasaverplugin here]. == Source == You can check out DataSaverPlugin from [http://trac-hacks.org/svn/datasaverplugin here] using Subversion, or [source:datasaverplugin browse the source] with Trac. == Installation == Do your normal Trac plugin install. If you are taking the install-into-Python route, add to your trac.ini: {{{ [components] datasaver.* = enabled }}} == Example == Suppose you write a lengthy wiki page, but accidentally hit refresh or the back button? You'd be out of luck most of the time. I know I was. But with this hack, a link called "Restore Form" will allow you to retrieve your data from your last save. Any time you navigate away from a form page, the contents will be saved in a cookie and when you return you can simply click "Restore Form" to retrieve it. == Recent Changes == [[ChangeLog(datasaverplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:rharkins][[BR]] '''Maintainer:''' [wiki:hasienda][[BR]] '''Contributors:'''