Results 1 to 10 of 149

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Poll Manager Support Thread

    Quote Originally Posted by D9Studios View Post
    I tried using the search function but couldn't find an answer. I'm using the latest version of Zen Cart and my shop can be found here: http://d9s.co/shop

    The trouble I'm having is that I'm using the CSS button mod (found here) and while the Vote! button works fine, the other button shows up as "PM_GOTO_RESULT". I'm not sure who's mod to ask this on but I need to know what I need to edit to make "PM_GOTO_RESULT" say "See Results" or something like that.

    Thank you for any help and for this wonderful mod. :)
    Hi,

    You truly found a bug in PM. A language constant is defined in the wrong place.
    To correct this:

    Add the line:
    define('PM_GOTO_RESULT', 'All poll results');
    to the file: /includes/languages/english/extra_definitions/poll_box.php

    Be sure to add it BEFORE the line that contains ?>.

    You also may remove the same line from the file: /includes/languages/english/poll_overview.php
    But this is not absolutely necessary.

    Furthermore I noticed that the radio buttons and the text of the poll options are very close to eachother. You may use the fix mentioned earlier (changing the percentages) to correct this.

    Boudewijn

  2. #2
    Join Date
    Jul 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Poll Manager Support Thread

    Quote Originally Posted by boudewijn View Post
    Hi,

    You truly found a bug in PM. A language constant is defined in the wrong place.
    To correct this:

    Add the line:
    define('PM_GOTO_RESULT', 'All poll results');
    to the file: /includes/languages/english/extra_definitions/poll_box.php

    Be sure to add it BEFORE the line that contains ?>.

    You also may remove the same line from the file: /includes/languages/english/poll_overview.php
    But this is not absolutely necessary.

    Furthermore I noticed that the radio buttons and the text of the poll options are very close to eachother. You may use the fix mentioned earlier (changing the percentages) to correct this.

    Boudewijn
    Thank you so much!! I'll go find that post on percentages now...

  3. #3
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Poll Manager Support Thread

    Quote Originally Posted by D9Studios View Post
    Thank you so much!! I'll go find that post on percentages now...
    It's this one: http://www.zen-cart.com/forum/showpo...4&postcount=95

  4. #4
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Poll Manager Support Thread

    Another issue that may occur if IE is used, is that the poll sidebox is not resized after voting and display of the vote results.

    To fix this:

    In file: /includes/templates/<YOUR TEMPLATE>/sideboxes/tpl_poll_box.php

    Around line 69, insert AFTER the following line:

    document.getElementById(element_id).innerHTML = http.responseText;

    these two lines:

    document.getElementById(element_id).style.display="none";
    document.getElementById(element_id).style.display="block";

    This will force the browser to re-render the DIV element after receiving the AJAX-results.

  5. #5
    Join Date
    Jul 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Poll Manager Support Thread

    Firstly, thanks for a great mod.

    For some reason my votes aren't showing up. The sidebox goes blank when I vote and when I click "results" it shows that nobody has voted.

    The installation seemed to go fine so I can't figure out what the problem is.

    I've tried on chrome and firefox.

    My website is here

    Any help would be greatly appreciated.

  6. #6
    Join Date
    Jul 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Poll Manager Support Thread

    I've just noticed:

    When I go to Tools >Layout Boxes Controller, The poll_box.php is highlighted in red. I've never seen this before.


  7. #7
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Poll Manager Support Thread

    Quote Originally Posted by synwave View Post
    I've just noticed:

    When I go to Tools >Layout Boxes Controller, The poll_box.php is highlighted in red. I've never seen this before.

    There is a first time for everything :-)
    It's in red because the sidebox is in your template folder and not in the general/default folder.
    Nothing wrong there.

  8. #8
    Join Date
    Jun 2009
    Posts
    207
    Plugin Contributions
    2

    Default Re: Poll Manager Support Thread

    Quote Originally Posted by synwave View Post
    Firstly, thanks for a great mod.

    For some reason my votes aren't showing up. The sidebox goes blank when I vote and when I click "results" it shows that nobody has voted.

    The installation seemed to go fine so I can't figure out what the problem is.

    I've tried on chrome and firefox.

    My website is here

    Any help would be greatly appreciated.
    Hi,

    It seems that the poll votes are not processed. In any case, nothing is returned to the poll box.
    Can you check if the file zcrpc.php is uploaded properly?
    Are any errors logged?

    Boudewijn

    Boudewijn

  9. #9
    Join Date
    Jul 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: Poll Manager Support Thread

    Quote Originally Posted by boudewijn View Post
    Hi,

    It seems that the poll votes are not processed. In any case, nothing is returned to the poll box.
    Can you check if the file zcrpc.php is uploaded properly?
    Are any errors logged?

    Boudewijn
    Thanks for the quick response. I've re uploaded all the files but still no joy. No errors are logged

 

 

Similar Threads

  1. Link Manager 3.0 Support Thread
    By clydejones in forum Addon Sideboxes
    Replies: 1987
    Last Post: 6 Aug 2021, 02:56 PM
  2. Testimonial Manager Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 1500
    Last Post: 4 Feb 2021, 04:12 PM
  3. Download File Manager Support Thread
    By balihr in forum All Other Contributions/Addons
    Replies: 24
    Last Post: 17 Aug 2017, 10:32 PM
  4. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 AM
  5. [Support Thread] Simple Video Manager
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 1 Nov 2008, 02:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg