Jump to content

Facebook Likes and Private Forums

Andy Millne

Recommended Posts

Yeah working a treat, I'm fully facebook integrated. Just trying to find other places around the site to put the like plugin. I'm thinking gallery images could be a good one.

I haven't tried. Is it not in Gallery and blogs already?
If not, let me know how you accomplish it because I'd like to add mine to the same places.
Link to comment
Share on other sites

May already be in gallery I haven't checked yet. If not just add this...

<!-- Facebook Like --> <div style='float:left;margin-bottom:6px;'><fb:like href="{$this->registry->getClass('output')->fetchRootDocUrl()}" layout="standard" show_faces="false" width="450" action="like" colorscheme="light" /></div> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({appId: '{$this->settings['fbc_appid']}', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e); }()); </script> <!-- End Facebook Like -->

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...