Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Auto Save or Prompt before navigating away from text editors in CMS Desk View modes: 
User avatar
Member
Member
jenf-deschutes - 3/15/2011 5:17:56 PM
   
Auto Save or Prompt before navigating away from text editors in CMS Desk
Is there a way to force a periodic auto save OR to prompt users if they accidentally navigate away from a text editor while using CMS Desk? I've encountered instances where my cursor focus is outside of the text editor for some reason and when I hit the backspace key it navigates away from the page editor... and I lose all my changes.

Thanks!

User avatar
Member
Member
Chanan - 3/15/2011 5:47:39 PM
   
RE:Auto Save or Prompt before navigating away from text editors in CMS Desk
A prompt would be very helpful...

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/17/2011 1:01:36 AM
   
RE:Auto Save or Prompt before navigating away from text editors in CMS Desk
Hi,

It is possible to set the CMS to check the changes before leaving the page in CMS Desk.

Please go to Site Manager -> Settings -> Content Management -> Prompt to save changes on exit and set this field to true.

Best regards,
Juraj Ondrus

User avatar
Member
Member
Chanan - 3/17/2011 5:56:38 AM
   
RE:Auto Save or Prompt before navigating away from text editors in CMS Desk
Awesome! Thanks!

User avatar
Member
Member
jenf-deschutes - 3/17/2011 9:43:27 AM
   
RE:Auto Save or Prompt before navigating away from text editors in CMS Desk
Thank you!

User avatar
Member
Member
cwyatt-emh - 7/7/2011 9:40:09 AM
   
RE:Auto Save or Prompt before navigating away from text editors in CMS Desk
This works great for documents that have already been saved or you need to select a page template for but is there a way to get a prompt for someone creating a new document that does not require a template selection? Thanks for the assistance.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 7/7/2011 11:47:09 PM
   
RE:Auto Save or Prompt before navigating away from text editors in CMS Desk
Hi,

Regrettably this is not working now for documents just being created. I have added this requirement and I hope it will be added in one of the next versions.

Right now it would be possible just by customization of the new document creation process and implementing custom logic.

Best regards,
Juraj Ondrus

User avatar
Member
Member
cwyatt-emh - 8/9/2011 3:01:14 PM
   
RE:Auto Save or Prompt before navigating away from text editors in CMS Desk
Where would the insertion need to be made within the document creation process? I have not spent much time (none) in that area of code?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 8/15/2011 1:20:07 AM
   
RE:Auto Save or Prompt before navigating away from text editors in CMS Desk
Hi,

You will need to add a custom javascript to the page, which is used for creating new documents. This script will check the actions between any edit and Save button click.

Best regards,
Juraj Ondrus

User avatar
Member
Member
Snarrak - 12/16/2011 3:53:53 AM
   
RE:Auto Save or Prompt before navigating away from text editors in CMS Desk
This is nice!
Is it possible to edit the text being prompted?

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 12/16/2011 5:33:38 AM
   
RE:Auto Save or Prompt before navigating away from text editors in CMS Desk
Hello,

You can change the displayed text in our resource files. These are located in the folder CMSResources. You need to change the entry for the string content.confirmleave in the file CMS.resx.

Best regards,
Boris Pocatko