eZ Community » Forums » Developer » Disabling drafts in user profiles
expandshrink

Disabling drafts in user profiles

Disabling drafts in user profiles

Monday 28 March 2005 11:24:16 pm - 2 replies

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.

Modified on Monday 28 March 2005 11:24:45 pm by Vjeran Vlahovic

Monday 28 March 2005 11:41:45 pm

Hi,

Try adding the following lines to the site.ini.append.php of your frontend siteaccess:

[ContentSettings]
EditDirtyObjectAction=usecurrent

Tuesday 29 March 2005 6:55:15 am

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.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu