Share » Forums » General » eZ Survey 2.0 summary result bug.

eZ Survey 2.0 summary result bug.

eZ Survey 2.0 summary result bug.

Thursday 02 October 2008 3:13:38 am - 3 replies

Author Message

Radek Kuchta

Thursday 02 October 2008 5:35:31 am

Hi Pawel,

Each value of Percentage for every row is counting:

$percentage = (int) round( ( 100 * $row['count'] ) / $count );
(file extension/ezsurvey/modules/survey/classes/ezsurveymultiplechoice.php)

As you can see, the result is rounded.
This value is transferred to a template .../result/overview/multiplechoice.tpl in your extension.

Good luck!

http://ez.no/certification/verify/272582

Pawel Graczyk

Thursday 02 October 2008 9:16:42 am

Thank You. :)

Piotrek Karaƛ

Thursday 02 October 2008 10:33:18 am

You guys stopped talking accross the desk? ;)

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu