How to send module result back to the form page ?

Author Message

Franck Grenier

Thursday 17 December 2009 1:03:50 am

Hello,
I've created a quizz extension with a module that handles the user answer.

The quizz form is submitted to my module at "quizz/reponse". After the module actions, I would like to go back to the quizz page with the result of the module.

How can I do that ?

Developer at Open Wide

Nicolas Pastorino

Monday 25 January 2010 11:16:25 pm

Hi Franck,

Did you get an answer there http://share.ez.no/forums/developer/module-result-after-redirect ?

Best Regards,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

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 02:55:28
Script start
Timing: Jan 18 2025 02:55:28
Module start 'layout'
Timing: Jan 18 2025 02:55:28
Module start 'content'
Timing: Jan 18 2025 02:55:29
Module end 'content'
Timing: Jan 18 2025 02:55:29
Script end

Main resources:

Total runtime1.1220 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.1641152.6406
Module start 'layout' 0.00490.0031 741.804739.4766
Module start 'content' 0.00801.1125 781.2813523.9453
Module end 'content' 1.12050.0015 1,305.22668.1250
Script end 1.1220  1,313.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2799160.0002
Check MTime0.00130.1116160.0001
Mysql Total
Database connection0.00060.053710.0006
Mysqli_queries1.083696.5698550.0197
Looping result0.00040.0365530.0000
Template Total1.093897.520.5469
Template load0.00190.172220.0010
Template processing1.091997.308920.5459
Template load and register function0.00010.009510.0001
states
state_id_array0.00080.068410.0008
state_identifier_array0.00120.109720.0006
Override
Cache load0.00160.1395130.0001
Sytem overhead
Fetch class attribute can translate value0.00040.036920.0002
Fetch class attribute name0.00080.071830.0003
XML
Image XML parsing0.00060.051120.0003
class_abstraction
Instantiating content class attribute0.00000.000630.0000
General
dbfile0.00070.0657160.0000
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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/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
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs