Indexhibit

Login:

Created by:
Daniel Eatock &
Jeffery Vaska

Built with Indexhibit

Facebook Like button on Indexhibit CMS 2

 

Indexhibit version: 2.0
Thread is resolved.

ArnoB
FRANCE
10 month(s) ago
Permalink Post

Hi,

I've just updated my Indexhibit and I would like to put back the Facebook Like Button.

I used to place the following code below my navication bar

  1. <div class="fb-like" data-href="facebook.com/Arnaud.Brihay.Visual.Art" data-send="true" data-layout="button_count" data-width="200" data-show-faces="false"></…;
  1. and in the index, the following one after <body>
  2. <div id="fb-root"></div>
  3. <script>(function(d, s, id) {
  4.   var js, fjs = d.getElementsByTagName(s)[0];
  5.   if (d.getElementById(id)) return;
  6.   js = d.createElement(s); js.id = id;
  7.   js.src = "//connect.facebook.net/fr_FR/all.js#xfbml=1";
  8.   fjs.parentNode.insertBefore(js, fjs);
  9. }(document, 'script', 'facebook-jssdk'));</script>

Now, I do not know where to place the last one. I've tried in index.php but it does not work. I've search into the forum but the question is always for the old version of Indexhibit. I've seen some ve site with the button, so it might be possible.

Thanks for your help and best regards,

Arno

arsondpi
GREECE
10 month(s) ago
Permalink Post

Check out this thread: indexhibit.org/forum/thread/16703/
:-)

Best Answer!
ArnoB
FRANCE
9 month(s) ago
Permalink Post

Thank you but this is to add a "Share on FB" link. What I'm looking for is the "LIKE" button.

Actually, FB updated their buttons' format option and give code for iFrame on this link:
developers.facebook.com/docs/reference/plugins/like/

You customize your button and copy the iframe code to YOURSITE.com/ndxzstudio/

Best Answer!
arsondpi
GREECE
9 month(s) ago
Permalink Post

Great - only you don't need to paste it there but rather either in a text box or a template file (index.php of your theme etc)

Showing 1 - 4 of 4 posts in Forum » Customize » Facebook Like button on Indexhibit CMS 2
 

This thread has been closed, thank you.