Wondering if anyone else has sen this and if it might be indicative of a larger problem that I may not have discovered yet. I’m getting multiple statuses listed for my polls - some of which have no votes. This has been a pretty basic install so far (mostly testing out LG Polls) and I’ve changed a couple polls from Open to Closed. See the attached pic.
Here’s your answer. It’s a hot fix for now but it will keep you out of trouble.
Ah, cool, thanks.
One other thing: LG Polls isn’t checking for Cp_jquery, meaning that jQuery can load more then once in the header, breaking it. I’ve had to change the show_full_control_panel_end function in ext.lg_polls_controller.php to add that check, which fixes things.
Approximately line 755 (edited way down here, the complete lines are the ones I added):
$r = '';
if (isset($EXT->version_numbers['Cp_jquery']) === FALSE && empty($SESS->cache['scripts']['jquery']) === TRUE)
{
[...] LG Polls jQuery and jQuery UI calls here [...]
$SESS->cache['scripts']['jquery'] = TRUE;
}
[...] LG Polls lg_polls_publish.js here [...]
[...] LG Polls lg_polls_admin.css here [...]
$out = str_replace( [...]
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.