Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Poll: Increase Option Number?
  • Posted: 02.02.2003, 16:47
     
    rvc122
    rank:
    Freshman Freshman
    registered:
     August 2002
    Status:
    offline
    last visit:
    23.01.03
    Posts:
    14
    Is there a way to increase the number of options for a poll? By default it is 12. I need many more for a poll I want to run.
  • Posted: 02.02.2003, 22:47
     
    rank:
    Moderator Moderator
    registered:
     March 2002
    Status:
    offline
    last visit:
    26.08.08
    Posts:
    7720

    rvc122

    Is there a way to increase the number of options for a poll? By default it is 12. I need many more for a poll I want to run.


    There isn't any way of achieving this without modifying the code. Both the core polls module and my advanced polls module assume a maximum of 12 votes.

    Both the database schema will accept more but the code limits it to 12.

    I plan on allowing for more than 12 options in a future version of the advanced polls module.

    -Mark
  • Posted: 13.01.2005, 18:44
     
    GlueBeard
    rank:
    Helper Helper
    registered:
     December 2003
    Status:
    offline
    last visit:
    29.09.08
    Posts:
    110

    rvc122

    Is there a way to increase the number of options for a poll? By default it is 12. I need many more for a poll I want to run.



    Yes, there is. I am not sure what the upper limit is, but I presently have mine set to 50, instead of 12.

    The file that you will want to edit is:

    PostNuke/modules/NS-Polls/admin.php

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula