Posted by mikeker on November 14, 2009 at 6:06am
| Project: | Vote Up/Down |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
When using the Alternative voting widget (in admin/settings/voteupdown/general), the AJAX results returned after voting are styled using vote_up_down_points.tpl.php instead of vote_up_down_points_alt.tpl.php
To fix, change vote_up_down.module @ 692 from:
$variables['title'] = url("vote_up_down/$type/$cid/1/$tag/1", array('query' => 'token='. $token));to
$variables['title'] = url("vote_up_down/$type/$cid/1/$tag/1/1", array('query' => 'token='. $token));(Note the extra "/1" at the end of the url).
I'll see if I have time to roll a proper patch this weekend -- I just reinstalled a bunch of stuff and all my usual tools are broken...
Comments
#1
Looks like I had free time earlier than I thought...
#2
Forgot to set the status to CNR.
#3
duplicate of #426740: Alternate points style template not used