Thanks for your help - http://www.stampinstuff.com.au/
Amy,
In your stylesheet (includes/templates/cherry_zen/css/stylesheet.css) the class clearBoth is defined with a font size of 0 pixels. This of course makes the text for the options invisible :-)
You can edit the stylesheet and remove that line from the class, although I am not sure what the impact will be on other parts of the site.
You can also alter the layout by editing includes/extra_configures/poll_box.php and change:
define('PM_POLL_OPTIONS_LAYOUT', 'style="width:99%;" class="clearBoth"');
to:
define('PM_POLL_OPTIONS_LAYOUT', 'style="width:99%; font-size: 12px;" class="clearBoth"');
This will at least fix the visibility issue.
Boudewijn
Boudewijn Sjouke
http://www.chinesedingen.nl
We have the words visible now but the words are running over the radio buttons.
The problem is again the cherry_zen stylesheet. It defaults the radio button to padding 0px, causing the text to be right on it.
In the next version of PM I will probably add a separate stylesheet for the poll box, making it easier to overrule the faulty behaviour of a template.
For now, you have to make some adjustments to the code:
In the file: includes/templates/<YOUR TEMPLATE>/sideboxes/tpl_poll_box.php:
Line 120: $content .= '<div class="back" style="width:12%;">' . "\n";
Change the 12% to 16%
Line 122: $content .= '</div><div class="back" style="width:87%; line-height:1.5em;">' . $option['text'];
Change the 87% to 83%
Also I noticed that the poll form (and also the search box above it) are shifted to the right too much. You can fix this by altering the stylesheet I mentioned in my earlier post: set the margin in the "FORM" class from 0.5em to 0em. That looks much better But make sure that other input forms on your website are not affected in a negative way.
Boudewijn
Boudewijn Sjouke
http://www.chinesedingen.nl
It worked! Thanks so much for your time and for the help you have given in addition to creating the mod in the first place. It looks like a great mod and in two days of the poll running it gave me the total opposite result (94%) to my own opinion so I can see that it will be very helpful in providing what my customers want.
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
Boudewijn Sjouke
http://www.chinesedingen.nl
It's this one: http://www.zen-cart.com/forum/showpo...4&postcount=95
Boudewijn Sjouke
http://www.chinesedingen.nl