to show poll results in same page

Author Message

Romeo Antony

Sunday 01 August 2010 2:12:46 am

Any idea in showing the poll result in same page. Means when polling is done , do not like to go to infocollector page. To do that what conditions(on form action ) do I set.Any idea will be helpfull.

Matthieu Sévère

Thursday 02 September 2010 3:44:43 am

Hi,

You should be able to customize the action after collection in ini settings (shiw results, redirect, ...). Thus you can redirect to your poll node after voting.

Don't remenber if it works for information collection but you should be able to post a redirect url while submiting the form (have a look in content/action.php).

Cheers

--
eZ certified developer: http://ez.no/certification/verify/346216

Romeo Antony

Monday 06 September 2010 5:15:57 am

thanks for your reply.

I have tried it many times. But do not know . I am unluck. Should try some other way.

Matthieu Sévère

Monday 06 September 2010 6:05:46 am

Have a look at the fetch documentation. There is a fetch to retrieve collected information.

--
eZ certified developer: http://ez.no/certification/verify/346216

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

Main resources:

Total runtime0.6051 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 587.9219152.6250
Module start 'layout' 0.00580.0042 740.546939.4609
Module start 'content' 0.01000.5934 780.0078554.5234
Module end 'content' 0.60340.0016 1,334.531312.1563
Script end 0.6050  1,346.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.6105160.0002
Check MTime0.00150.2515160.0001
Mysql Total
Database connection0.00080.135710.0008
Mysqli_queries0.549890.8718600.0092
Looping result0.00060.1050580.0000
Template Total0.568894.020.2844
Template load0.00190.311720.0009
Template processing0.566993.697420.2835
Template load and register function0.00010.018510.0001
states
state_id_array0.00140.232710.0014
state_identifier_array0.00140.232720.0007
Override
Cache load0.00160.2649180.0001
Sytem overhead
Fetch class attribute can translate value0.00100.159620.0005
Fetch class attribute name0.00150.252760.0003
XML
Image XML parsing0.00130.206620.0006
class_abstraction
Instantiating content class attribute0.00000.002980.0000
General
dbfile0.00100.1614220.0000
String conversion0.00000.001740.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs