[geeklog-devel] polls plugin

Oliver Spiesshofer oliver at spiesshofer.com
Tue Sep 25 01:06:59 EDT 2007


thanks was fixed already some time ago. Are you sure you have the 
current CVS and a fresh DB install? I do not know if the nightly CVS is 
really up to date.

Oliver

Joe Mucchiello wrote:
> Same nightly CVS. The polls plugin is completely fubar'd. Just Edit 
> the default poll and you find Q1 in the Q1 tab but all the answer are 
> in the Q2 tab, and so on. Likewise if you create a poll with 3 
> questions Q1, Q2, Q3 and create answers like A1Q1, A2Q1, A3Q1, A1Q2, 
> A2Q2, A3Q2, A1Q3, A2Q3, A3Q3 you get this output:
>
>
> 1: Q2
>  A1Q2
>  A2Q2
>  A3Q2
> 2: Q3
>  A1Q3
>  A2Q3
>  A3Q3
> 3: Q1
>
> [Vote]
>
> Looking the HTML, it seems the questions, answer and displayed numbers 
> don't share the same concept of array bases. One in using empty arrays 
> name="questions[]", the other is 0-based name="answer[0][]" and of 
> course the display is all 1 based.
>
> ----
> Joe Mucchiello
> Throwing Dice Games
> http://www.throwingdice.com
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://eight.pairlist.net/mailman/listinfo/geeklog-devel
>
>




More information about the geeklog-devel mailing list