To show poll results on same submission page

Author Message

Romeo Antony

Friday 06 August 2010 11:55:00 pm

I have searched through the whole ez forums to get how to show poll results in same page .Can anyone please give me an idea how to do this ? How to set the url of from action in poll template.

Romeo Antony

Saturday 07 August 2010 1:33:05 am

I will explain my idea,

I want to show the poll in homepage , as a block.when visitor submit the poll , poll results will be shown in the same block without going to anyother page like contentnfo/poll.tpl.

For that I will include a custom template in same (block/poll.tpl )that fetch poll result when submission take place .So that page will be same .No need to go to result page.

Is it wrong or can i go ahead with this idea?

Anyone please give me a suggestion. Thanks in advance Romeo

Romeo Antony

Sunday 08 August 2010 6:23:30 am

Please anyone give me a two sentence suggestions.,

Robin Muilwijk

Sunday 08 August 2010 11:43:59 am

Hi Romeo,

I had the same thought as someone else on IRC suggested; use Ajax via ezjscore. Don't ask me for development details though, no exprt ;) Maybe someone else can chime in?

-- Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Romeo Antony

Sunday 08 August 2010 1:08:59 pm

Thank you for your suggestion Robin. I am trying it for the last 4 days .But no luck . Anyway thanks a lot for your time and willingness to help me Robin.

Robin Muilwijk

Monday 09 August 2010 11:41:59 am

Hi Romeo,

You probably read this already, but just in case you haven't, see http://share.ez.no/articles/ez-publish/ezjscore-ez-publish-javascript-and-ajax-framework/(language)/eng-GB. Maybe you can find some info in there.

-- Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.