Create New EZ_VERSION__STATUS codes

Author Message

Mindshare Interactive Campaigns

Thursday 26 May 2005 10:53:18 am

Hey guys, I'm trying to change the default "status" codes for something being approved or denied in a workflow. I.E. replace "Draft, Published, Pending, Archived, Rejected" with my own definitions and then create my own workflow around those definitions.

Basically I'm trying to create a system where one user can enter content, another user can evaluate it, pass it off to another user for editing and clean up, and then have a final user approve or deny the publishing of the resource. I'd like to change the status codes to refelect where the object is in my chain. It looks to me like I need to "extend" at least the eZContentObjectVersion class and then somehow associate it with content objects? Anyone got any pointers or willing to walk me through this process?

Thanks for your time and help!

http://www.mindshare.net

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 08:55:24
Script start
Timing: Jan 19 2025 08:55:24
Module start 'layout'
Timing: Jan 19 2025 08:55:24
Module start 'content'
Timing: Jan 19 2025 08:55:25
Module end 'content'
Timing: Jan 19 2025 08:55:25
Script end

Main resources:

Total runtime0.6997 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 590.4063152.6406
Module start 'layout' 0.00580.0027 743.046939.4609
Module start 'content' 0.00850.6897 782.5078427.6172
Module end 'content' 0.69830.0014 1,210.12508.1563
Script end 0.6997  1,218.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4868160.0002
Check MTime0.00150.2120160.0001
Mysql Total
Database connection0.00080.108910.0008
Mysqli_queries0.662994.7434460.0144
Looping result0.00040.0523440.0000
Template Total0.667695.420.3338
Template load0.00180.263520.0009
Template processing0.665795.144120.3329
Template load and register function0.00020.022710.0002
states
state_id_array0.00090.135610.0009
state_identifier_array0.00090.133920.0005
Override
Cache load0.00140.206160.0002
Sytem overhead
Fetch class attribute can translate value0.00080.120010.0008
Fetch class attribute name0.00080.115810.0008
XML
Image XML parsing0.00010.019110.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00090.1328100.0001
String conversion0.00000.000740.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs