Disable the Drafts

Author Message

Laura Garcia

Tuesday 14 October 2008 6:53:12 am

Hi,

I have a problem trying to disable the Drafts. I've followed the instructions in previous posts but I have not been able to do it.

Could you tell me if there is some workaround to disable the Drafts?

Thank you,

Ivo Lukac

Tuesday 14 October 2008 8:02:25 am

AFAIK you can't disable drafts, you can only store less versions (at least one of course)

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Andreas Kaiser

Thursday 16 October 2008 8:03:10 am

You should check the powercontent extension:

http://ez.no/developer/forum/setup_design/new_node_without_a_draft/re_new_node_without_a_draft__31

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Frédéric DAVID

Thursday 16 October 2008 8:48:15 am

You can edit the current draft. Update your site.ini like that.

[ContentSettings]
EditDirtyObjectAction=usecurrent

In the template/content/edit.tpl, You can put the field

<input type="hidden" name="DiscardConfirm" value="0" />

This line allows to return on the full view of your object, without have the confirmation message about the draft.

Blog : http://www.frefred.fr/blog/ez-publish
feZ Meta Data : http://projects.ez.no/fezmetadata

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 19 2025 01:07:57
Script start
Timing: Jan 19 2025 01:07:57
Module start 'layout'
Timing: Jan 19 2025 01:07:57
Module start 'content'
Timing: Jan 19 2025 01:07:58
Module end 'content'
Timing: Jan 19 2025 01:07:58
Script end

Main resources:

Total runtime0.7116 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.1328152.6094
Module start 'layout' 0.00540.0025 741.742239.4141
Module start 'content' 0.00790.7023 781.1563630.2266
Module end 'content' 0.71020.0014 1,411.382812.1875
Script end 0.7115  1,423.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4502160.0002
Check MTime0.00130.1864160.0001
Mysql Total
Database connection0.00090.129210.0009
Mysqli_queries0.657692.4130640.0103
Looping result0.00070.1032620.0000
Template Total0.678995.420.3394
Template load0.00200.280220.0010
Template processing0.676995.121220.3384
Template load and register function0.00020.022510.0002
states
state_id_array0.00080.116410.0008
state_identifier_array0.00100.142120.0005
Override
Cache load0.00160.2279220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.096040.0002
Fetch class attribute name0.00120.166370.0002
XML
Image XML parsing0.00190.267740.0005
class_abstraction
Instantiating content class attribute0.00000.002770.0000
General
dbfile0.00210.3016290.0001
String conversion0.00000.000840.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
4content/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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs