Facebook and Twitter sharing
Facebook and Twitter sharing
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
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.
<?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.