This project is read-only.

PollManager and javascript

Apr 1, 2009 at 8:45 AM
Hi there,

I just installed GraffitiExtras 1.3 onto a GraffitiCMS 1.2 website, but the Poll isn't working. I can set it up and it shows perfectly, but get a javascript error.
It can't find the function Polls.submitPoll and that's probably because the Javascript file GraffitiExtras.js isn't included in the HTML :-)

What should include the javascript, or should I include it myself somewhere?

Apr 1, 2009 at 8:56 AM
Copied AjaxExtras.ashx to the root of the website and added <script type="text/javascript" src="/__utility/js/GraffitiExtras.js" ></script> into Site Settings -> Headers
Now I get the error Message: 'SWFObject' is undefined
Apr 1, 2009 at 9:01 AM
And also added the following to Site Settings -> Headers

<script type="text/javascript" src="/graffiti-admin/reporting/swfobject.js"></script>

Now it's working...