burbujita Posted August 3, 2015 Share Posted August 3, 2015 Quiero poner los botones de Compartir y me gusta de FB en el CMS de prestashop: En fb Developers me dice que ponga este codigo: 1. Include the JavaScript SDK on your page once, ideally right after the opening <body> tag. <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/es_ES/sdk.js#xfbml=1&version=v2.4"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> 2. Place the code for your plugin wherever you want the plugin to appear on your page. <div class="fb-share-button" data-href="https://developers.facebook.com/docs/plugins/" data-layout="box_count"></div> Pero, realmente en que archivos tengo que poner esos codigos?? Link to comment Share on other sites More sharing options...
Recommended Posts