PollDaddy

By RobElliottRobElliott

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. This does not yet use [[embed]]...[[/embed]] tags but can be embedded using html code and an iframe.

PollDaddy Script

After you have created your poll in PollDaddy it will give you code that looks like this:

polldaddyscript.png

You need to copy all that code.

Code

html

In your wiki page add html code, putting your PollDaddy code inside the body tags:

[!--
[[code type="html"]]
<html>
 <head>
    <title>PollDaddy</title>
  </head>

<body>
<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>
</body>

</html>
[[/code]]
--]

iframe

You then need to reference that code by adding an iframe as follows using your site address:

[[iframe http://www.strathviewconsultants.wikidot.com/support:polls/code/1 width="400" height="350" scrolling="no" frameborder="0"]]

If the html code was the first html code on that page then you use /code/1, if it was the second use /code/2 and so on.

For your poll you will probably need to adjust the width and height.

In action

The result is as follows:

Another Example :

from MisterSCOTCHin the comments

<html>
 <head>
    <title>PollDaddy 1</title>
  </head>
<body>
<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>
</body>
</html>

In action

The result is as follows:

Done with:
[[iframe http://snippets.wikidot.com/code:polldaddy/code/3 width="400" height="350" scrolling="no" frameborder="0"]]

Author

RobElliottRobElliott

Rate this solution

If you think this solution is useful please increase the rating.

rating: +2+x
Poll Not Showing Up
area7workforcearea7workforce 1241615236|%e %b %Y, %H:%M %Z|agohover

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?

unfold Poll Not Showing Up by area7workforcearea7workforce, 1241615236|%e %b %Y, %H:%M %Z|agohover
Re: Poll Not Showing Up
MisterSCOTCHMisterSCOTCH 1250065164|%e %b %Y, %H:%M %Z|agohover

same issue for me

unfold Re: Poll Not Showing Up by MisterSCOTCHMisterSCOTCH, 1250065164|%e %b %Y, %H:%M %Z|agohover
Re: Poll Not Showing Up
Helmutis_guestHelmutis_guest 1250144210|%e %b %Y, %H:%M %Z|agohover

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…

last edited on 1250144351|%e %b %Y, %H:%M %Z|agohover by Helmutis_guest + show more
unfold Re: Poll Not Showing Up by Helmutis_guestHelmutis_guest, 1250144210|%e %b %Y, %H:%M %Z|agohover
Re: Poll Not Showing Up
MisterSCOTCHMisterSCOTCH 1250234561|%e %b %Y, %H:%M %Z|agohover

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:

[!--
[[code type="html"]]
<html>
 <head>
    <title>PollDaddy</title>
  </head>

<body>
<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>

</body>

</html>
[[/code]]
--]

and then i put this somewhere in the page:

[[iframe http://www.strathviewconsultants.wikidot.com/support:polls/code/1 width="400" height="350" scrolling="no" frameborder="0"]]
unfold Re: Poll Not Showing Up by MisterSCOTCHMisterSCOTCH, 1250234561|%e %b %Y, %H:%M %Z|agohover
Leicht einzubauen!
Helmuti_pdorfHelmuti_pdorf 1250355595|%e %b %Y, %H:%M %Z|agohover

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, www.zusi.de (Demo-Video)

Wollen Sie Wikidot helfen im deutschen » Handbuch ?

last edited on 1250355805|%e %b %Y, %H:%M %Z|agohover by Helmuti_pdorf + show more
unfold Leicht einzubauen! by Helmuti_pdorfHelmuti_pdorf, 1250355595|%e %b %Y, %H:%M %Z|agohover
Re: Leicht einzubauen!
MisterSCOTCHMisterSCOTCH 1250494241|%e %b %Y, %H:%M %Z|agohover

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

unfold Re: Leicht einzubauen! by MisterSCOTCHMisterSCOTCH, 1250494241|%e %b %Y, %H:%M %Z|agohover
Add a new comment
Page tags: embed poll polldaddy polls
page_revision: 11, last_edited: 1250599597|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License