Forums / Developer / how to disable versioning?

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 :) .

eZ debug

Timing: Jan 18 2025 19:06:39
Script start
Timing: Jan 18 2025 19:06:39
Module start 'content'
Timing: Jan 18 2025 19:06:40
Module end 'content'
Timing: Jan 18 2025 19:06:40
Script end

Main resources:

Total runtime1.0345 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0101 588.8281180.8359
Module start 'content' 0.01010.8522 769.6641570.2188
Module end 'content' 0.86230.1721 1,339.8828332.7500
Script end 1.0344  1,672.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00600.5833210.0003
Check MTime0.00190.1836210.0001
Mysql Total
Database connection0.00130.123910.0013
Mysqli_queries0.947391.57141960.0048
Looping result0.00220.21351940.0000
Template Total0.993496.020.4967
Template load0.00330.318820.0016
Template processing0.990195.708220.4951
Template load and register function0.00020.017710.0002
states
state_id_array0.00090.082510.0009
state_identifier_array0.00250.244520.0013
Override
Cache load0.00300.2853240.0001
Sytem overhead
Fetch class attribute can translate value0.00200.191140.0005
Fetch class attribute name0.00140.131840.0003
XML
Image XML parsing0.00140.138340.0004
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00550.5315270.0002
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs