Posted on: 10/30/05 02:17am
By: Anonymous (Paul)
I would like to have a poll in a block so I can limit that poll to a certain topic.
This would allow me to a have different polls on different pages.
Would this work, or would I run into a problem when people are trying to vote on more than 1 poll?
If it would work how do I get the poll to show up in a block?
Thanks,
Paul
Is it possible to create a poll in a block?
Posted on: 10/30/05 09:23am
By: Dirk
I guess that would work.
Polls are identified by their ID, so they shouldn't interfere with each other (otherwise we wouldn't be able to have two polls on this very site right now ...).
bye, Dirk
Is it possible to create a poll in a block?
Posted on: 10/31/05 12:02am
By: Anonymous (Paul)
I see a "Block Function:" option in the "PHP Block Options" section, is this what I read something about calling a function there. How do I call the poll function if that is what I'm trying to do? Or, do I have to use the "Normal Block Options" section to add the code to get the poll?
If I need code to do this what is the code?
Please excuse the lack of knowledge here, I'm kind of learning as we go here....
Thanks again for all your help,
Paul
Is it possible to create a poll in a block?
Posted on: 10/31/05 01:49pm
By: Dirk
Is it possible to create a poll in a block?
Posted on: 11/20/05 10:13am
By: congleal
[QUOTE BY= Dirk] See
What are the different block types for?[*1] for some basics.
From your own PHP block function, you can then call COM_showPoll (see lib-common.php).
bye, Dirk[/QUOTE]
Dirk,
It isn't very clear to me how to do this? Another reason I would like to use the block option is hopefully to insert a graphic. Is it possible?
If you could please clarify the instructions to use the block mode and tell me if it is possible to use a graphic, I would appreciate it very much.
Lee