Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Qartvela™

Добавляем кнопку FB Like Button в Video System 3.0.3

Recommended Posts

ACP -> Skins -> "Skin" -> Templates -> skin_videos - videoView:

 

найти:

 

<div class='block_wrap'>
<div class='general_box' style='text-align:center;'>
{$video['embed']}

добавить ниже код для "Like Button":

(код для "Like Button" можно получить c Facebook)

<div id="fb-root"></div>
<script>(function(d, s, id) {
 var js, fjs = d.getElementsByTagName(s)[0];
 if (d.getElementById(id)) {return;}
 js = d.createElement(s); js.id = id;
 js.src = "//connect.facebook.net/en_US/all.js#appId=117338918370399&xfbml=1";
 fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div style='float:left; width:50%;'>
<div class="fb-like" data-send="false" data-width="450" data-show-faces="false"></div>
</div>

 

Save and Enjoy ;)

  • Upvote 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...