By RobElliott
Table of Contents
|
Description
PollDaddy is an excellent online, customisable, tool for creating polls and surveys.
It is possible to embed a PollDaddy poll in your wikidot page using the HTML code block syntax.
PollDaddy Script
After you have created your poll in PollDaddy it will give you code that looks like this:
You need to copy all of that code.
Code
html
In your wiki page add the html code you have copied, then surround it with HTML code blocks, like this:
[[html]] <script type="text/javascript" charset="utf-8" language="javascript" src="http://static.polldaddy.com/p/1466617.js"></script><noscript> <a href ="http://answers.polldaddy.com/poll/1466617/" >Do you think a wikidot conference in 2010 is a good idea?</a> <br/> <span style="font-size:9px;"> (<a href ="http://www.polldaddy.com"> surveys</a>)</span></noscript> [[/html]]
In action
The result is as follows:
Another example:
from MisterSCOTCH in the comments
[[html]] <script type="text/javascript" language="javascript" charset="utf-8" src="http://static.polldaddy.com/p/1866640.js"></script><noscript> <a href="http://answers.polldaddy.com/poll/1866640/">Vorschläge für die Stammtischwoche 2009-08-10 bis 2009-08-19</a><span style="font-size:9px;">(<a href="http://answers.polldaddy.com">polling</a>)</span></noscript> [[/html]]
Thanks to tsangk for this great snippet: conditional-blocks
text above inserted with:
[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]
Other snippets posted by RobElliott
Sproutbuilder - 16 Feb 2012 01:44
Slideshare - 16 Feb 2012 01:42
Show A YouTube Video Saved On Your Page - 16 Feb 2012 01:41
Mibbit - 16 Feb 2012 01:21
Jotform - 16 Feb 2012 01:14
Google Translate - 16 Feb 2012 01:06
Rate this solution
If you think this solution is useful — rate it up!
I made as an example your polldaddy script in the page above - "another example" you will see:
1. NO line breaks in the html code in the scripting!
2. have a look on the used iframe line!
You have of course to replace the
[[iframe http://www.strathviewconsultants.wikidot.com/support:polls/code/1 width="400" height="350" scrolling="no" frameborder="0"]]
WITH YOUR SITENAME AND PAGE NAME!
Edit: in Firefox werden wegen der Cookies doe letzen Änderungen nihctr sofort gezeigt..
Refresh helps - or have a look in IE…
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
sure i did exchange the "http://www.strathviewconsultants.wikidot.com" with the url of my wiki (http://stammtischba.wikidot.com/start) but i guess the problem was that ff needs a refresh of the page.
Thx for the help
I used the code provided with my poll and inserted my information. When I put it on the page, in the box was not the poll, but an image of my wiki. Has anyone else ran into this?
same issue for me
Please - show us your code of your wiki page ( by using code block) !
It does not give us any idea what could happen…
Edit: on your page: http://stammtischba.wikidot.com/start there was a try of polldaddy I think, but I cannot see any comment in the history…
I did it exactly according to this howto but had to remove the code since it only showed an image of my wiki in a separate frame. So, in facts it's not existing anymore but i will post the code i used here:
and then i put this somewhere in the page: