Forums / Developer / Disabling drafts in user profiles
Vjeran Vlahovic
Monday 28 March 2005 1:24:16 pm
Is it possible to turn off drafts somehow? I would like to avoid user's confusion which may occur when user does not click "save" or "cancel" button during profile editing. I want to avoid "Current drafts->edit/new draft" options next time when he goes to edit his profile...
Thanks.
http://www.netgen.hr/eng
Sebastiaan van der Vliet
Monday 28 March 2005 1:41:45 pm
Hi,
Try adding the following lines to the site.ini.append.php of your frontend siteaccess:
[ContentSettings] EditDirtyObjectAction=usecurrent
Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.
Ćukasz Serwatka
Monday 28 March 2005 8:55:15 pm
Hi Vjeran,
You can alos add
<input type="hidden" name="DiscardConfirm" value="0" />
to your form. When user click on "Cancel" button eZ publish will not ask him about drafts.
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog