Preview article before publication

Author Message

Fabien Audin

Wednesday 19 May 2010 1:24:20 am

Hi all,

I have a workflow to approve content before publication. But I would like to see my content and to modify it if necessary, and then approve it. I can modify it but when I click on the "Approve" button, the redirection is wrong. I get a page with this url : http://mywebsite/index.php/...../browse

In another place in my website I already have this edit page, and when I click on the button, I get the previous page. But in the case explained above, the content is not published yet, so I think the edit page comes from the admin side and the previous page is the previous page IN THE ADMIN.

Do you understand my problem? I tried to explain it but it's a strange thing and i'm not english so...

Thanks a lot for your time

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 05:14:46
Script start
Timing: Jan 18 2025 05:14:46
Module start 'layout'
Timing: Jan 18 2025 05:14:46
Module start 'content'
Timing: Jan 18 2025 05:14:47
Module end 'content'
Timing: Jan 18 2025 05:14:47
Script end

Main resources:

Total runtime0.8505 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.0048 589.0547152.6250
Module start 'layout' 0.00480.0028 741.679739.4609
Module start 'content' 0.00760.8413 781.1406399.3984
Module end 'content' 0.84900.0015 1,180.53918.1563
Script end 0.8505  1,188.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4101160.0002
Check MTime0.00140.1623160.0001
Mysql Total
Database connection0.00080.090510.0008
Mysqli_queries0.817696.1322460.0178
Looping result0.00040.0483440.0000
Template Total0.819996.420.4099
Template load0.00190.222020.0009
Template processing0.818096.177020.4090
Template load and register function0.00020.018310.0002
states
state_id_array0.00120.145310.0012
state_identifier_array0.00120.142820.0006
Override
Cache load0.00150.180180.0002
Sytem overhead
Fetch class attribute can translate value0.00060.066710.0006
Fetch class attribute name0.00060.064710.0006
XML
Image XML parsing0.00010.011610.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00050.0593100.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
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