Jump to content

[SOLVED] Facebook Fan Box not working after updating to v1.3


Recommended Posts

strange :/

 

another thing.

can you show contents of blockfacebook.tpl file ?

does it look like:
 

{if $facebookurl != ''}
<div id="fb-root"></div>
<div id="facebook_block" class="col-xs-4">
	<h4 >{l s='Follow us on facebook' mod='blockfacebook'}</h4>
	<div class="facebook-fanbox">
		<div class="fb-like-box" data-href="{$facebookurl|escape:'html':'UTF-8'}" data-colorscheme="light" data-show-faces="true" data-header="false" data-stream="false" data-show-border="false">
		</div>
	</div>
</div>
{/if}

?

Link to comment
Share on other sites

strange :/

 

another thing.

can you show contents of blockfacebook.tpl file ?

does it look like:

 

{if $facebookurl != ''}
<div id="fb-root"></div>
<div id="facebook_block" class="col-xs-4">
	<h4 >{l s='Follow us on facebook' mod='blockfacebook'}</h4>
	<div class="facebook-fanbox">
		<div class="fb-like-box" data-href="{$facebookurl|escape:'html':'UTF-8'}" data-colorscheme="light" data-show-faces="true" data-header="false" data-stream="false" data-show-border="false">
		</div>
	</div>
</div>
{/if}

?

 

I've checked and its the same. I've also tried uninstalling and reinstalling and its still doesn't work.

Link to comment
Share on other sites

I am also experiencing a similar problem. Facebook block is not showing in ie but works fine in chrome and firefox.

 

I have tried unhooking as per the last suggestion but this kills the block in all browsers.

 

Any suggestions greatfuly received.

Link to comment
Share on other sites

I am also experiencing a similar problem. Facebook block is not showing in ie but works fine in chrome and firefox.

 

I have tried unhooking as per the last suggestion but this kills the block in all browsers.

 

Any suggestions greatfuly received.

 

your problem is different than problem described in this thread.

reattach your module to displayHeader section.

Link to comment
Share on other sites

ok so another idea

i checked your website code, you've got there two facebook scripts included.

go to modules > positions

and try to unhook blockfacebook module from displayHeader section

 

I've unhook from the displayHeader section and the box still doesn't load  :(

Link to comment
Share on other sites

ok i managed to solve this weird problem.

 

  1. BO > Modules > Uninstall then delete.
  2. BO > Advance Parameters > Performance - Clear cache(located at top right).
  3. Download prestashop 1.6.06, unzip then to folder prestashop > modules and zip folder blockfacebook.
  4. FTP blockfacebook.zip into "Your prestashop diectory/modules/" and unzip it.
  5. BO > Modules > Install !
  6. You might have to re-position the module in BO > Modules > Position.

 

finally it works for me now  :)

Edited by DelonnKoh (see edit history)
  • Like 1
Link to comment
Share on other sites

thank you for posting detailed step by step guide

i can go ahead and mark topic as solved.

with regards,

Milos

 

Thnx vekia for looking thru the problem for me and i learned a few things on the way.  :D

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

I have the same problem with version 1.606 and did all you say here but the problem persists.

I even edited the file blockfacebook.php and added my facebook user there, replacing prestashop and still wouldn´t work. However, if I change the facebook user to https://www.facebook.com/prestashop it runs smoothly...

 

So my guess is that there is some cross commands that are making this not work... Any ideas?

Edited by hernanlr (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

Hi Geoff. I do have avast, but that´s not the reason. I disabled it and still the problem persisted...

 

You can see the site here: http://www.gauswheel.es/es/

 

What I was able to figure out was that the first error was because I was using a facebook user url address instead of a page address. Although they look the same (the urls) it seems they have a different behaviour with this module.

 

Having said that, I created www.facebook.com/espanagauswheel and that worked on the admin side. I can see the likes there. But it doesn´t work on the frontpage.

 

Any ideas?

Link to comment
Share on other sites

  • 3 months later...

add this script to your face book module block. it works for me

<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_GB/sdk.js#xfbml=1&appId=1402784386645668&version=v2.0";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

Link to comment
Share on other sites

  • 2 months later...
×
×
  • Create New...