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.

eZ debug

Timing: Jan 18 2025 22:18:03
Script start
Timing: Jan 18 2025 22:18:03
Module start 'layout'
Timing: Jan 18 2025 22:18:03
Module start 'content'
Timing: Jan 18 2025 22:18:04
Module end 'content'
Timing: Jan 18 2025 22:18:04
Script end

Main resources:

Total runtime0.6107 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.9141152.6250
Module start 'layout' 0.00530.0032 740.539139.4453
Module start 'content' 0.00860.6006 779.9844565.1406
Module end 'content' 0.60920.0015 1,345.125012.1641
Script end 0.6107  1,357.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5559160.0002
Check MTime0.00130.2194160.0001
Mysql Total
Database connection0.00060.104610.0006
Mysqli_queries0.561992.0041590.0095
Looping result0.00050.0876570.0000
Template Total0.580995.120.2904
Template load0.00220.362420.0011
Template processing0.578694.744820.2893
Template load and register function0.00010.014610.0001
states
state_id_array0.00070.122010.0007
state_identifier_array0.00080.126220.0004
Override
Cache load0.00180.2956240.0001
Sytem overhead
Fetch class attribute can translate value0.00080.130030.0003
Fetch class attribute name0.00090.144440.0002
XML
Image XML parsing0.00080.133930.0003
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00090.1476160.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs