Forums / Developer / how to edit a pending item ?

how to edit a pending item ?

Author Message

John Mina

Thursday 15 June 2006 2:19:55 am

hello
I am using a workflow to control the date and time to publish articles
How would i allow my editors editing the pending items before having them published , while they are still pending to the time of publishing i mean

Can this ever happen ?

Thanks for help in advance
John

James Robertson

Wednesday 28 June 2006 8:01:56 pm

I have a similar request. I need the approver of an item to be able to edit that item before it is publish (not simple approve or deny it). How can this be done?

[I notice the constant EZ_COLLABORATION_APPROVE_STATUS_DEFERRED is defined in kernel/classes/collaborationhandlers/ezapprove/ezapprovecollaborationhandler.php with the comment "/// The contentobject was deferred and will be a draft again for reediting.". But the code for handling this 'status' seems to have been commented out in favour of performing the same action as 'Denied' status. Does this mean that this feature is no longer supported?]

John Mina

Tuesday 17 October 2006 1:18:25 am

EZ people.
Hello , can you please help us with these issues about the pending items

My question is a bout a pending item waiting a date and time to be published. how would i edit/ delete/ or do anythign to that one

Currently when i edit anything , i get a new copy of the article and they both got posted in date and time ,

looking forward to hearing back ASAP
Thanks
John

John Mina

Tuesday 17 October 2006 1:20:30 am

James, for your request,
when you view the article in the pending items , you can find there a user view or admin view on the left side of the screen

There you can choose to open the admin view and click on edit .

But the problem i face that i get a new copy not really edited , that is for my case not sure how it wll do for urs
Let me know
good luck
John

James Robertson

Tuesday 17 October 2006 3:21:35 pm

Thanks for the help John. Unfortunately, I may not have explained my problem fully.

When a user, not an Administrator, published certain content on our site, we have a workflow that requires theis content to be approved by an administrator. However, the only options the administrator has are to either approve or deny the publication. There seems to be no way for them to edit the object before approval.

Siniša Šehović

Tuesday 17 October 2006 3:43:15 pm

Hi James,

You can try ezApprove2 extension.
http://ez.no/community/contribs/workflow/ezapprove2

Best regards,
S.

---
If at first you don't succeed, look in the trash for the instructions.

James Robertson

Thursday 19 October 2006 1:22:11 pm

Hi Sinisa.

Thanks, that extension sounds like just what I need. I will give it a try after I upgrade the eZ publish version for the site in question.

eZ debug

Timing: Jan 31 2025 01:15:18
Script start
Timing: Jan 31 2025 01:15:18
Module start 'content'
Timing: Jan 31 2025 01:15:18
Module end 'content'
Timing: Jan 31 2025 01:15:18
Script end

Main resources:

Total runtime0.1782 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 587.9297370.2969
Module start 'content' 0.00720.0148 958.22661,005.5156
Module end 'content' 0.02200.1561 1,963.74223,893.9375
Script end 0.1781  5,857.6797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00442.4678200.0002
Check MTime0.00130.7495200.0001
Mysql Total
Database connection0.00080.426010.0008
Mysqli_queries0.082546.28181410.0006
Looping result0.00110.63651390.0000
Template Total0.155787.410.1557
Template load0.00080.430010.0008
Template processing0.154986.950010.1549
Override
Cache load0.00050.294710.0005
Sytem overhead
Fetch class attribute can translate value0.00191.080510.0019
XML
Image XML parsing0.00040.230610.0004
General
dbfile0.00884.9152200.0004
String conversion0.00000.002830.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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