We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13928
    • 28 Posts
    hey...Easy poll doesn’t have back button, if we click results, or vote(before we click an option)to take you back to voting(first page)


    There is a documentation in the folder of EasyPoll describing the different tpl’ &tplResult=`yourchunk`

    Just copy the examle code for &tplResult into a chunk
    Add a <a href="http://www.ogledalo.si/prodaja/">Back!</a>
    Then in snippet call add &tplResult=`nameofyourchunk`





    for voting(before clicking an option)

    you have to go to Snippet easypoll / EDIT

    and you add this to other templates :
    $config[’tplError’] = isset($tplError) ? $tplError : false;

    and then you do again tutorial on the top of my post



    • this work with EVO?
        palma non sine pulvere
        • 2734
        • 165 Posts
        Hi all

        I’m sorry for the long inactivity concerning the EasyPoll Module. I abandoned MODx in favor of SilverStripe. Now that EVO is out, I’ll give it a try as soon as I have a bit more time on my hands. I’m still very interested in MODx and I might port EasyPoll to EVO if I deem it worthwhile.

        If you need a Poll Module for EVO right now, go ahead, the source is open.
          • 12941
          • 87 Posts
          Is there a way to show results in order of votes, and then reduce the results visible by the Top X, i.e. top 5, top 10, etc?
            • 21473
            • 42 Posts
            Hello,

            any news about easypoll compatibility with evo ?

            Thx !
              Site pro : [url=http://www.rezonova.com]Rezonova : d
              • 21473
              • 42 Posts
              In fact easypoll works with evo, during the upgrade to evolution the table of easypoll module was deleted. Restaure SQL and it’s done smiley
                Site pro : [url=http://www.rezonova.com]Rezonova : d
                • 21056
                • 327 Posts
                Quote from: Nico at Nov 05, 2009, 12:32 PM

                Hello,

                any news about easypoll compatibility with evo ?

                Thx !

                EasyPoll seems to work fine with Evo, except that its CSS references some old themes which are no longer distributed with 1.0.x (if you have upgraded, I assume you still have the themes in place from older versions).

                Here is an amended CSS file (to replace /assets/modules/EasyPoll/css/styles.css) which references icons included in the 1.0.2 distribution:

                /*
                * Easy Poll Styles
                */
                .container {
                    padding:10px;
                    height:auto;
                }
                
                .installbox { font-size:1.3em; }
                
                .installbox, .warning {
                    border:1px solid #F90;
                    background-color:#FFA;
                    padding:5px;
                }
                
                .splash h1, .splash p { margin:0.5em 0em; }
                
                .warning {
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/event2.png');
                    background-repeat:no-repeat;
                    background-position:10px center;
                    padding-left:35px;
                    margin-bottom:1em;
                }
                
                .installbox input, .button, .button:hover, input.button {
                    padding:2px 5px 2px 24px;
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/folder_add.png');
                    background-repeat:no-repeat !important;
                    background-position:4px center !important;
                }
                
                .actionButtons a {
                    float:left;
                }
                
                .button, input.button {
                    padding:3px 5px 2px 24px !important;
                    border:1px solid #CCC !important;
                    background-color:#FFF;
                    cursor:pointer;
                    margin-right:5px;
                    color:#000 !important;
                }
                
                .button:hover {
                    height:auto !important;
                }
                
                .actionButtons .edit, .actionButtons .edit:hover {
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/save.png');
                }
                
                .actionButtons .delete, .actionButtons .delete:hover {
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/trash.png');
                }
                
                .actionButtons .back, .actionButtons .back:hover, .actionButtons .stop, .actionButtons .stop:hover{
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/prev.gif');
                }
                
                .actionButtons .save, .actionButtons .save:hover {
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/ed_save.gif');
                }
                
                .actionButtons .cancel, .actionButtons .cancel:hover {
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/stop.png');
                }
                
                .actionButtons .confirm, .actionButtons .confirm:hover {
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/add.png');
                }
                
                .actionButtons .choice, .actionButtons .choice:hover {
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/table.gif');
                }
                
                .actionButtons .clear, .actionButtons .clear:hover {
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/trash.png');
                }
                
                
                
                input.disabled, .button.disabled {
                    background-color:#CCC !important;
                    color:#666 !important;
                }
                
                a.translation_ok, a.translation_miss, .item_active, .editdate, .moveup, .movedown {
                    width:16px;
                    height:16px;
                    display:block;
                    background:url('../../../../manager/media/style/MODxCarbon/images/icons/event2.png') no-repeat center center;
                }
                
                a.translation_ok {
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/save.png');
                }
                
                .item_active {
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/save.png');
                }
                
                .editdate {
                    float:left;
                    margin-left:10px;
                    cursor:pointer;
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/cal.gif');
                }
                
                .moveup {
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/arrow_up.png');
                }
                
                .movedown {
                    background-image:url('../../../../manager/media/style/MODxCarbon/images/icons/arrow_down.png');
                }
                
                a.translation_ok span, a.translation_miss span, .item_active span, .editdate span, .moveup span, .movedown span { display:none; }
                
                .formtable { width:100%; }
                .formtable th { text-align:left; }
                .formtable input { float:left; }
                
                .grid .active { background-color:#dff7a8; }
                
                .error, .info {
                    padding:5px;
                    border:1px solid #600;
                    background-color:#FAA;
                    margin-bottom:1em;
                }
                
                .info {
                    border:1px solid #066;
                    background-color:#AFF;
                }
                .success p, .error p, .warning p, .info p { color:#000; font-weight:normal; width:75%; font-size:1.2em; }
                
                .error .button, .warning .button, .info .button {
                    background-color:#FFF;
                    margin-right:1em;
                }
                
                a.tab { text-decoration:none !important; }
                
                .message { float:left; clear:both; }
                .message .msg { float:left; width:100%; }
                a.messageclose span { display:none; }
                a.messageclose {
                    display:block;
                    float:left;
                    width:16px;
                    height:16px;
                    background:url('../../../../manager/media/style/MODxCarbon/images/icons/event3.png') no-repeat center center;
                }
                
                .tab-page .sectionBody, .tab-page .sectionHeader {
                    margin:0px;
                }
                
                .grid th.gridHeader {
                    text-align:left !important;
                    white-space:nowrap !important;
                    padding:3px 5px 1px 5px;
                    height:auto;
                }
                
                
                  Author: ManagerManager plugin - customise your ModX manager interface

                  Rckt - web development, Sheffield, UK
                  • 25441
                  • 60 Posts
                  Hi ,

                  thanks for great module!

                  I translated lang.en.php on russian language, save in utf8, but problem with coding are still persists.

                  please help. only thing I can do - remove text and insert image with text.
                  $_lang['error'] = '<img src="/text.png" />';


                  Hmm..

                  If i insert &tplError=`poll_error`, nothing happens.
                    • 14225
                    • 12 Posts
                    I am having trouble running the module - the panel goes blank when I click run.

                    I have looked at the Reports> system events section and it states:
                    Easypoll module, syntax error, unexpected ’<’.

                    I have copied the code into the module again but that hasn´ñt helped. The version is 0.9.6.3 and I´m running php5.

                    Any ideas what might be wrong?

                    Thanks
                      • 32189
                      • 5 Posts
                      My screen was blank too smiley When you check the module you’ll see its probably starting with <?php and ending with ?>
                      Delete them and it will work.