Forums / Setup & design / Disable the Drafts

Disable the Drafts

Author Message

Laura Garcia

Tuesday 14 October 2008 6:53:12 am

Hi,

I have a problem trying to disable the Drafts. I've followed the instructions in previous posts but I have not been able to do it.

Could you tell me if there is some workaround to disable the Drafts?

Thank you,

Ivo Lukac

Tuesday 14 October 2008 8:02:25 am

AFAIK you can't disable drafts, you can only store less versions (at least one of course)

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Andreas Kaiser

Thursday 16 October 2008 8:03:10 am

You should check the powercontent extension:

http://ez.no/developer/forum/setup_design/new_node_without_a_draft/re_new_node_without_a_draft__31

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Frédéric DAVID

Thursday 16 October 2008 8:48:15 am

You can edit the current draft. Update your site.ini like that.

[ContentSettings]
EditDirtyObjectAction=usecurrent

In the template/content/edit.tpl, You can put the field

<input type="hidden" name="DiscardConfirm" value="0" />

This line allows to return on the full view of your object, without have the confirmation message about the draft.

Blog : http://www.frefred.fr/blog/ez-publish
feZ Meta Data : http://projects.ez.no/fezmetadata