I think Leevi may have gone missing… Does anyone know if LG Polls can show the same poll at two different locations using different CSS? I’m baffled where this div tag comes from:I do not see anything like that in my template. Each poll is shown inside this div.<div class='lg-poll' id='lg-poll-22'>
I think Leevi may have gone missing… Does anyone know if LG Polls can show the same poll at two different locations using different CSS? I’m baffled where this div tag comes from:I do not see anything like that in my template. Each poll is shown inside this div.<div class='lg-poll' id='lg-poll-22'>
LG Polls can show the same poll twice. They tag you are referring too is generated by the {exp:lg_polls:poll} tag. Obviously you’ll have duplicate ID’s which is bad for validation and Javascript. I’ve added a new param to a hot fix I am preparing now which will remove the wrapper div.
The new parameter must have the value set as no to remove the wrapper div:
add_wrapper_div="no"
I’ll let you know when the hotfix is ready.
I’m having an issue with LG Polls no longer allowing more than two answers. For some reason it doesn’t work any longer. I haven’t added any new modules or extensions, so I don’t see a conflict. Running EE 1.6.7 Build: 20090515 Polls version 1.0.6
I’m guessing this is a JS issue. Have you upgraded your version of jquery or installed the CP jQuery extension?
Are you getting any javascript errors in Firebug?
You might also want to checkout this comment: http://ellislab.com/forums/viewthread/70157/P36/#517869. I’m adding this to the hotfix as well.
Leevi, any idea I’d be getting these error messages + my config settings for LG Polls won’t ‘stick’? (I’ve checked the lg_cache permissions and they’re fine, I have the two default fields configured…):Any ideas?Notice: Undefined index: Lg_polls_CP in /path/to/system/modules/lg_polls/mcp.lg_polls.php on line 184 Warning: in_array() [function.in-array]: Wrong datatype for second argument in /path/to/system/modules/lg_polls/mcp.lg_polls.php on line 413 Warning: in_array() [function.in-array]: Wrong datatype for second argument in /path/to/system/modules/lg_polls/mcp.lg_polls.php on line 413 [...repeated 12 times]
Are both the Polls extensions installed as well as the module?
Does anyone know if the styling for the polls ‘Bar Chart Results’ as seen here come with the module? I have it installed and it seems to be working fine… but the styling is non-existent. Am I missing something or do I need to set the styling from scratch?
I’m using Leevis example code here to display results.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.