I do a lot of work with the MERCI reservation module http://drupal.org/project/merci One of the features we've been working on is a simple way for users to create templates to use to autofill default values into the reservation form. I.e. reserved items, etc.
I've found the Draft module comes very close to doing what is required. The only problem is the drafts are deleted after the node is saved. We would like to be able to reuse the draft at a later time for a different node.
I've created a patch which applies the changes to make this work. I added a admin option to use the module in template mode. This mode turns off deleting the draft upon node save, disables autosaving and disables deletions of the draft on cron. There was also a point in draft_nodeapi where a draft entry with no title was created when a node was first being edited. This was leaving a ton of broken drafts in the draft list if the node was never saved.
| Comment | File | Size | Author |
|---|---|---|---|
| draft.diff | 3.31 KB | darrick |
Comments
Comment #1
darren.ferguson commentedThis has now been added to the module with one change the draft is still created since otherwise it will fail due to the form module having issues with the hidden field.
http://drupal.org/cvs?commit=445504
Comment #2
darren.ferguson commented