Page 2 of 2 FirstFirst 12
Results 11 to 20 of 149

Hybrid View

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

    Default Re: Poll Manager Support Thread

    The style clearBoth in your template also sets the font size to 2 pixels, causing the text to be so tiny. I'm not sure how to fix this permanently yet, but a workaround is to change, in includes/templates/<YOUR TEMPLATE>/sideboxes/tpl_poll_box.php, line 113:

    from: $content .= '<div style="width:99%;" class="clearBoth">';

    to: $content .= '<div style="width:99%; clear:both; font-weight:normal; overflow:hidden;">';

    This should, in your template, prevent changing the font size and weight and cause the text to display correctly.

    Please let me know how this works out.

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

    Default Re: Poll Manager Support Thread

    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. :)

  3. #3
    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

  4. #4
    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...

  5. #5
    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

  6. #6
    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.

 

 
Page 2 of 2 FirstFirst 12

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