1
head_robot
xoopspoll 1.3 show percentage only
  • 2010/8/4 13:59

  • head_robot

  • Just popping in

  • Posts: 8

  • Since: 2010/2/3 2


I am using xoopspoll 1.3 and only want to display the results percentage, and not show the # of voters.
I tried commenting out the entry in xoopspoll_results.html
"

"
I just want to show the results %. How?

2
Mazarin
Re: xoopspoll 1.3 show percentage only
  • 2010/8/4 18:35

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


If you are talking about the block template, then just delete (or comment out)
<{$option.percent}>
on row 15.

3
head_robot
Re: xoopspoll 1.3 show percentage only
  • 2010/8/5 7:10

  • head_robot

  • Just popping in

  • Posts: 8

  • Since: 2010/2/3 2


Line 15 of //modules/xoopspoll/templates/blocks/xoopspoll_block_poll.html is
<{$option.image}> <{$option.percent}> (<{$option.count})


I tried to comment out the %option.count, but it still shows on the block results page.
I also do not want to show the total voters/ total votes at he end of the block results page.

4
Mazarin
Re: xoopspoll 1.3 show percentage only
  • 2010/8/5 7:49

  • Mazarin

  • Just can't stay away

  • Posts: 533

  • Since: 2008/12/10


Have you set the "Check templates for changes" to yes in the general preferences in Xoops?

Login

Who's Online

434 user(s) are online (320 user(s) are browsing Support Forums)


Members: 0


Guests: 434


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits