Facebook and Twitter sharing

oliver22
oliver22
  • oliver22
  • 13 months ago
I've been trying to enable facebook and twitter sharing for individual polls and have found this code in the default template file viewpoll.php

<?php if(!empty($jcp_config[SHARE_THIS_PUBID])): ?>
<li>
<a id="ck_sharethis" class="stbar chicklet active" href="javascript:void(0);"><img src="http://w.sharethis.com/chicklets/sharethis.gif" />ShareThis</a>
<script type="text/javascript">
var shared_object = SHARETHIS.addEntry({title: document.title,url: document.location.href});
shared_object.attachButton(document.getElementById("ck_sharethis"));
shared_object.attachChicklet("email", document.getElementById("ck_email"));
shared_object.attachChicklet("facebook", document.getElementById("ck_facebook"));
shared_object.attachChicklet("twitter", document.getElementById("ck_twitter"));
</script>
</li>
<?php endif;?>

It seems as though this is meant to do just that but it doesn't show up. Am I missing a file or setting? I have enabled Polls Anywhere which only seems to add the Embed this link.

Access to viewing replies is restricted.
Showing 2 of 2 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai