Poll templates

Poll templates

Monday 03 January 2005 3:54:34 am - 5 replies

Author Message

Lazaro Ferreira

Monday 03 January 2005 9:13:51 am

Hi,

full,line and embed stand for three diferent views of the poll

ezp 3.4.x default template for builtin poll is at :

design/base/override/templates/collectedinfo/poll_result.tpl

Lazaro
http://www.mzbusiness.com

M M

Monday 24 January 2005 6:20:45 am

hi all

Does anyone know how can i get the number of votes in a poll ?

Thanks in advance

Wenyue Yu

Monday 24 January 2005 7:26:46 am

Hi,

Could you try

fetch( content, collected_info_count, hash( object_id, $object.id ))

Regards,
wenyue

M M

Monday 24 January 2005 8:40:02 am

Thanks very much
But i have another question, how can i get only the question from the question attribute in the poll [ as it contains the question and the different options of voting ... created by the data type option]

Thanks in advance

Wenyue Yu

Tuesday 25 January 2005 2:21:10 am

Hi,

$attribute.content.name

should be the question, while

$attribute.content.option_list

will be those different options.

Regards,
wenyue

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

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