Adding "Facebook Like" Buttons to your Pages
From KickApps Documentation
For the new combined LIKE and SEND button, please go to: Adding Facebook Send buttons to your KIT Cloud Social pages.
Adding the "Facebook Like" button to your site is like being handed free advertising on Facebook. When you add the Like button to your KIT Cloud Social-powered pages, any Facebook user can click the button, and suddenly a link to your site is broadcast all over that user's activity stream, and visible to all of their Facebook friends. So what are you waiting for?
Add the Facebook Like button to your site's "play pages" by pasting the following code into the footer section of your Global Page Template.
CODE
<!-- script for putting Facebook Like buttons on play pages -->
<script type="text/javascript">
//FBLIKEBUTTON
$j(document).ready(function() {
if (Ka.Info.PAGE == "pages/mediaPlayPage.jsp"){
//page url
var currentUrl = escape(document.location.href);
var likeLink = "<iframe src=\"http://www.facebook.com/plugins/like.php?href="+currentUrl+"&layout=standard&show_faces=false&width=450&action=like&colorscheme=light\" scrolling=\"no\" frameborder=\"0\" allowTransparency=\"true\" style=\"border:none; overflow:hidden; width:450px; height:30px\"></iframe>";
$j('#ka_playPageStats').before(likeLink);
}
});
</script>
Favorites







