Forums / Setup & design / How to suppress(Not Allow) the version and draft function?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

How to suppress(Not Allow) the version and draft function?

Author Message

bill hung

Tuesday 15 March 2005 12:40:18 am

Dear All,
I want to only keep a version(lastest) on the server, and Not to save draft.
How I to do?
In the content.ini, I found:
DefaultVersionHistoryLimit 1
VersionHistoryClass siteaccess [1]5
undefined [2]5
but I don't understand.
thanks and best regards!

bill hung

Tuesday 15 March 2005 3:55:00 pm

help me!

Łukasz Serwatka

Tuesday 15 March 2005 10:16:14 pm

Hi Bill,

You can do this by setting

[VersionManagement]
DefaultVersionHistoryLimit=2
VersionHistoryClass[1]=2

You can`t set VersionHistoryClass[1] to 1 because then you will not be able to edit your object. Temporary version is created as a draft version when you editing object.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog