How can I view and/or delete archived versions of all documents in my site ?

Author Message

Nick Woods

Tuesday 27 April 2004 4:30:30 am

I want to have a tidyup of some of the archived versions of content on my site

The only way I've found to do this is to edit each article in turn and manually delete the old versions, which is at best time-consuming

Is there a way I can see every version for every content object on my site so that I can view and/or delete all the older versions at once (even if I have to manually select the ones to be deleted) ?

Björn Dieding@xrow.de

Tuesday 27 April 2004 4:34:28 am

Versions get autodeleted

You can set a value for each content object for the versions archived in the DB

The default is 10. You could for example lower that value to 1.

Otherwise you need to write a little script

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

K259

Tuesday 27 April 2004 6:28:49 am

Which script is autodeleting old versions, or when do this happen?

_Z_

Nick Woods

Wednesday 28 April 2004 4:43:03 am

Thanks Bjorn.

Can you help me with the sript I'd need to write ? Even just pointing me at the correct item of documentation would help as I'm struggling to find anything

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 19:28:35
Script start
Timing: Jan 18 2025 19:28:35
Module start 'layout'
Timing: Jan 18 2025 19:28:35
Module start 'content'
Timing: Jan 18 2025 19:28:36
Module end 'content'
Timing: Jan 18 2025 19:28:36
Script end

Main resources:

Total runtime1.2162 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0106 589.5313152.6875
Module start 'layout' 0.01060.0043 742.218839.5234
Module start 'content' 0.01491.2001 781.7422571.4844
Module end 'content' 1.21500.0012 1,353.226612.0625
Script end 1.2162  1,365.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2841160.0002
Check MTime0.00130.1101160.0001
Mysql Total
Database connection0.00210.176310.0021
Mysqli_queries1.157595.1721620.0187
Looping result0.00060.0519600.0000
Template Total1.176396.720.5882
Template load0.00300.245320.0015
Template processing1.173396.471620.5867
Template load and register function0.00020.013910.0002
states
state_id_array0.00140.119110.0014
state_identifier_array0.00090.076220.0005
Override
Cache load0.00200.1663180.0001
Sytem overhead
Fetch class attribute can translate value0.00070.055830.0002
Fetch class attribute name0.00100.083050.0002
XML
Image XML parsing0.00090.074830.0003
class_abstraction
Instantiating content class attribute0.00000.000750.0000
General
dbfile0.00080.0646160.0000
String conversion0.00000.001040.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs