Hi Paul, the save draft is a workflow action, but the save itself is not. If you have a look at [1] you see that the save button triggers a javascript function that triggers the submission of a form in an iframe. Each time you perform an action in the toolbar form, it refreshes itself because the available workflow actions may change depending on the current status. The cleanest (but maybe not the easiest) way would be to remove the "save" button and modify [2] the savedraft function [3] and its label [4]. Be aware that all versions of a document are saved under /default/files/default.preview/history/content/path/to/document.xml/<versionnumber>.xml. If the editors save the same document frequently you may end up with a huge amount of versions in the history which may slow down saving the document because each time it has to lookup the latest version number.
[1] http://svn.hippocms.org/repos/hippo/hippo-cms/branches/Branch-CMS-v6_05_xx/editor/src/site/explorer/transformers/toolbarform/actions2template.xsl [2] http://wiki.onehippo.com/display/CMS/Creating+and+building+workflow+projects [3] http://svn.hippocms.org/repos/hippo/hippo-workflows/trunk/reviewed-actions-workflow/src/java/nl/hippo/cms/workflows/reviewedactions/SaveDraftFunction.java [4] http://svn.hippocms.org/repos/hippo/hippo-workflows/trunk/reviewed-actions-workflow/src/workflow/ReviewedActionsWorkflow.xml Jasha Joachimsthal j.joachimst...@onehippo.com - ja...@apache.org www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 185 H Street, suite B, Petaluma CA 94952 +1 (707) 7734646 2010/1/4 Paul van der Maden <paulvanderma...@hotmail.com>: > > Its regarding CMS 6. > >> Date: Mon, 4 Jan 2010 16:17:20 +0100 >> Subject: Re: [HippoCMS-dev] automatically save draft on document save >> From: b.vandersch...@onehippo.com >> To: hippocms-dev@lists.hippocms.org >> >> Hi Paul, >> >> Happy new year to you too. >> >> Is this question about CMS 6 or CMS 7? >> >> Regards, >> Bart >> >> On Mon, Jan 4, 2010 at 2:24 PM, Paul van der Maden >> <paulvanderma...@hotmail.com> wrote: >> > >> > Hello all, >> > >> > first of all, I wish you all a happy new year. >> > >> > And now for the question. Is it possible to automatically save a draft >> > every time a user saves a document? >> > >> > with regards, >> > Paul van der Maden >> > >> > _________________________________________________________________ >> > Alles over Windows >> > http://www.windows.nl/About.aspx******************************************** >> > Hippocms-dev: Hippo CMS development public mailinglist >> > >> > Searchable archives can be found at: >> > MarkMail: http://hippocms-dev.markmail.org >> > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html >> > >> > >> >> >> >> -- >> Hippo B.V. - Amsterdam >> Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466 >> >> Hippo USA Inc. - San Francisco >> 101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646 >> ----------------------------------------------------------------- >> http://www.onehippo.com - i...@onehippo.com >> ----------------------------------------------------------------- >> ******************************************** >> Hippocms-dev: Hippo CMS development public mailinglist >> >> Searchable archives can be found at: >> MarkMail: http://hippocms-dev.markmail.org >> Nabble: http://www.nabble.com/Hippo-CMS-f26633.html >> > > _________________________________________________________________ > Alles over Windows > http://www.windows.nl/About.aspx******************************************** > Hippocms-dev: Hippo CMS development public mailinglist > > Searchable archives can be found at: > MarkMail: http://hippocms-dev.markmail.org > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > > ******************************************** Hippocms-dev: Hippo CMS development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html