how to disable versioning?

Author Message

Vytautas Germanavičius

Friday 26 August 2005 12:40:36 am

I need display page with 10 edit forms for 10 objects. but it creates new versions for every object and next time i get warning, that someone is editing object.

{set-block scope=root variable=cache_ttl}0{/set-block}

Bertrand Dunogier

Sunday 28 August 2005 11:00:09 am

In site.ini.append for your siteacces:

# Use 'showversions' to select which version to edit, or 'usecurrent' to always edit the current version.
EditDirtyObjectAction=showversions

change it to usecurrent to always use the current version without warning about drafts.

Lorenzo Tilve

Tuesday 11 October 2005 3:55:37 am

hi,

i had the same problem, so i tried changing EditDirtyObjectAction to 'usecurrent' and it works fine with the previously created objects.

The problem is that now the button i used to create new objects from that siteacess fails.

I use the following code to create the new contents:
<form name="contidos" method="post" action={"content/action/"|ezurl} >
<input class="text" type="submit" name="NewButton" value="New Article" />
<input type="hidden" name="NewButton" value="Crear contido" />
<input type="hidden" name="ClassID" value="{$mycontentclass_id}" />
<input type="hidden" name="NodeID" value="{$mynode_id}" />
</form>
</code>

Any suggestion? Otherwise i would need a great efford in managing drafts to avoid asking users about them.

Thanks in advance :) .

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.