How to edit an ezcontentobjectversion?

Author Message

Bayron Guevara

Friday 08 February 2008 7:10:37 am

Hi! I override the <i>ezapprove.tpl</i> inside the collaboration module. When I read its code, it calls <i>content_version_view_gui</i> function, which shows the objects pending to approve. But I want to edit it. I create another override but the normal edit form won't function because it isn't available as <i>ezcontentobjecttreenode</i>. I tried using a edit link, but publish it directly whithout be approved. How can I do it to edit this before approval?

Web Developer & Modern Philosopher
Visit http://www.laprensa.hn, http://www.diez.hn, http://www.estilo.hn

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 31 2025 03:44:06
Script start
Timing: Jan 31 2025 03:44:06
Module start 'layout'
Timing: Jan 31 2025 03:44:06
Module start 'content'
Timing: Jan 31 2025 03:44:06
Module end 'content'
Timing: Jan 31 2025 03:44:06
Script end

Main resources:

Total runtime0.0251 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 588.2344151.2109
Module start 'layout' 0.00680.0035 739.4453220.6875
Module start 'content' 0.01030.0135 960.1328997.7109
Module end 'content' 0.02380.0013 1,957.843829.9922
Script end 0.0251  1,987.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002710.6623140.0002
Check MTime0.00124.6028140.0001
Mysql Total
Database connection0.00103.939010.0010
Mysqli_queries0.00259.829430.0008
Looping result0.00000.051310.0000
Template Total0.00103.910.0010
Template load0.00083.051110.0008
Template processing0.00020.867910.0002
Override
Cache load0.00052.111010.0005
General
dbfile0.00114.284780.0001
String conversion0.00000.031340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs