Guest Posted November 23, 2012 Share Posted November 23, 2012 (edited) **** ENGLISH **** With this contrib you will be able to add a poll box to your store, and show its results! Download this add-on on the attached files. **** ESPAÑOL **** Con esta contribución podrás añadir un box de encuestas en tu tienda, y mostrar sus resultados! Descarga la contribución en los archivos adjuntos. http://addons.oscommerce.com/info/8614 Edited January 24, 2013 by Harald Ponce de Leon Quote Link to comment Share on other sites More sharing options...
Guest Posted January 18, 2013 Share Posted January 18, 2013 (edited) Here is the new fixed version! Ya está aca la nueva versión con errores solucionados! http://addons.oscommerce.com/info/8614 Edited January 24, 2013 by Harald Ponce de Leon Quote Link to comment Share on other sites More sharing options...
JIM454 Posted February 6, 2013 Share Posted February 6, 2013 (edited) I install the poll Fix 2.0 in Administration I get Fatal error: Call to undefined function tep_cfg_select_pages() in /home//public_html/admin/modules.php(232) : eval()'d code on line 1 and Fatal error: Call to undefined function tep_draw_box_wrapper_top() in includes/modules/boxes/bm_polls.php on line 69. Edited February 6, 2013 by JIM454 Quote Link to comment Share on other sites More sharing options...
67825 Posted February 17, 2013 Share Posted February 17, 2013 Hi, I got same issue - some one know how to fix this? Quote Link to comment Share on other sites More sharing options...
Danmo43 Posted May 7, 2013 Share Posted May 7, 2013 We need this fixed. It's a great idea. Quote Link to comment Share on other sites More sharing options...
scottyab Posted June 25, 2013 Share Posted June 25, 2013 (edited) I resolved this by removing all the tep_draw_box functions. It's part of a template which I don't have in my install. This is how my code looks in bm_polls.php. $data ='<div class="ui-widget infoBoxContainer">' . tep_infobox_heading_div(MODULE_BOXES_POLLS_BOX_TITLE) . '<ul>'. '<li>'. tep_draw_form('poll', tep_href_link('poll_submit.php', 'action=process', 'SSL'), 'post', '', true) . '</li>'. '<li>'. MODULE_BOXES_POLLS_QUESTION . '</li>'. '<li>'. tep_draw_radio_field('option', '1') . MODULE_BOXES_POLLS_OPTION1 . '</li>' . '<li>'. tep_draw_radio_field('option', '2') . MODULE_BOXES_POLLS_OPTION2 . '</li>' . '<li>'. tep_draw_radio_field('option', '3') . MODULE_BOXES_POLLS_OPTION3 . '</li>' . '<li>'. tep_draw_radio_field('option', '4') . MODULE_BOXES_POLLS_OPTION4 . '</li>' . '<li>'. tep_draw_radio_field('option', '5') . MODULE_BOXES_POLLS_OPTION5 . '</li>' . '<li>'. tep_draw_radio_field('option', '6') . MODULE_BOXES_POLLS_OPTION6 . '</li>' . '<li>'. tep_draw_radio_field('option', '7') . MODULE_BOXES_POLLS_OPTION7 . '</li>' . '<li>'. tep_draw_radio_field('option', '8') . MODULE_BOXES_POLLS_OPTION8 . '</li>' . '<li>'. tep_draw_radio_field('option', '9') . MODULE_BOXES_POLLS_OPTION9 . '</li>' . '<li>'. tep_draw_radio_field('option', '10') . MODULE_BOXES_POLLS_OPTION10 . '</li>'. tep_image_submit(IMAGE_BUTTON_CONTINUE, 'Envar voto'). '<a href="/polls_results.php">Resultados</a>'. '</form>'. '</ul>'. '</div>'; Basically just removed references to the functions not in my template. Now, I can't edit the poll because when I click edit I have no options on the right column to edit. Edited June 25, 2013 by scottyab Quote Link to comment Share on other sites More sharing options...
scottyab Posted June 25, 2013 Share Posted June 25, 2013 Found the solution for that too. Before installing, remove 'tep_cfg_select_pages(' in both spots from bm_polls and replace with ''. This is another function not included in my version. Quote Link to comment Share on other sites More sharing options...
scottyab Posted June 25, 2013 Share Posted June 25, 2013 Now it errors when I select an option...database issue. I'll come back to this later, this is far from a clean install for 2.3.1 with the jquery template. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.