Vote up/down widget can not display, no matter how setting it.
I have find the bug resided in vote_up_down_nodeapi function of vote_up_down.module file,
notice this line:
$style = variable_get('vote_up_down_widget_style_node', 0) == 1 ? <b>'alt'</b> : '';
must be corrected to
$style = variable_get('vote_up_down_widget_style_node', 0) == 1 ? <b>'_alt'</b> : '';
'alt' must be '_alt'
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | vote_up_down-alt-41630-12.patch | 721 bytes | brenda003 |
Comments
Comment #1
ddouble commentedvote_up_down_nodeapi function of vote_up_down.module file
Modify code From
To
Comment #2
merto87 commentedThanks for this issue.
Waiting for dev commit.....
Comment #3
dtarc commentedThanks for the fix.
Comment #4
sadist commentedi'd just downloaded the latest version and installed. i found tt this fix is still not committed yet?
Comment #5
brenda003This actually seems to be in the vote_up_down_widget_form function, line 852, change:
to
Comment #6
benanne commentedThanks, I was having the same problem.
Is this module still being maintained at all?
Comment #7
kevinquillen commentedJust had to fix this myself too.
Comment #8
ManyNancy commentedComment #9
CarbonPig commentedThis works! Thank you very much - I'm putting the module on my site now that it seems to be working 2 patches and some styling later : ) http://carbonpig.com
Cheers,
CarbonPig
Comment #10
ed_conolly commentedI've been ripping my eyes out for the last 4 hours over this.
This needs to be easier to find and mentioned on the module's download page.
Working now, thanks to this thread.
Comment #11
marvil07 commentedas http://drupal.org/node/156119
Comment #12
brenda003Here's a patch.
Comment #13
marvil07 commentedthanks for the patch
it will be commited as soon as I have clear status about this branch maintaining
Comment #14
marvil07 commentedmarked #577728: Alternative style doesn't work as dup
Comment #16
marvil07 commentednot sure why testbot is failing, I have run the test in local, and all passed, so commited