Forums / Setup & design / "Draft" system
Federico Canuti
Sunday 18 December 2005 10:08:36 am
Hello, I was thinking about disabling the "draft" system in ez, mainly because for a common user logging in a site it's not obvious nor easy to use a system that track down several drafts of his account. So what can I do to make it more "old style", I mean click, modify save and nothing more?
Paul Forsyth
Monday 19 December 2005 12:24:49 am
You cant disable the draft system but you can tweak it a little.
In site.ini this setting will ensure that when you edit you wont see the draft screen:
[ContentSettings]EditDirtyObjectAction=usecurrent
However, if you dont want the sitewide application of this setting try in content.ini to adjust the number of allowable drafts:
[VersionManagement] DefaultVersionHistoryLimit=10VersionHistoryClass[1]=5
Alter VersionHistoryClass to the class you need.
Note: you need at least 2 versions. Putting 1 will produce errors.
Paul
Monday 19 December 2005 7:58:18 am
Exactly what I was looking for, using the last one. Thanks
Xavier Dutoit
Saturday 24 December 2005 2:27:40 am
Thanks Paul,
I always look for that EditDirtyObjectAction in content.ini, where it should be IMO.
For future references: the setting to improve the content management and avoid the message none of my users understand about a " This object is already being edited" is in site.ini .
X+
http://www.sydesy.com