elektrojo Posted January 10, 2015 Share Posted January 10, 2015 (edited) My shop has this small problem Facebook like Box Block does not load when use I change language to Arabic visit the site athttp://www.ekarti.co...x.php?id_lang=2 http://www.ekarti.co...x.php?id_lang=1Also the comment module is not working Edited January 12, 2015 by elektrojo (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 10, 2015 Share Posted January 10, 2015 i analysed your website once again problem is in fact that facebook like box that you use doesnt include proper js library from facebook. to your blockfacebook.tpl file add this: <script id="facebook-jssdk" src="//connect.facebook.net/ar_AR/all.js#xfbml=1&appId=820600224657190"></script> and empty blockfacebook.js file will see what's going on then Link to comment Share on other sites More sharing options...
elektrojo Posted January 11, 2015 Author Share Posted January 11, 2015 (edited) I made the change, now the module is Arabic all the time for both languages Arabic and English, and btw it worked even before emptying blockfacebook.js could we check the language id and then use the right link? Edited January 11, 2015 by elektrojo (see edit history) Link to comment Share on other sites More sharing options...
elektrojo Posted January 11, 2015 Author Share Posted January 11, 2015 (edited) . Edited January 11, 2015 by elektrojo (see edit history) Link to comment Share on other sites More sharing options...
elektrojo Posted January 11, 2015 Author Share Posted January 11, 2015 i analysed your website once again problem is in fact that facebook like box that you use doesnt include proper js library from facebook. to your blockfacebook.tpl file add this: <script id="facebook-jssdk" src="//connect.facebook.net/ar_AR/all.js#xfbml=1&appId=820600224657190"></script> and empty blockfacebook.js file will see what's going on then I made the steps and as I said in the post before it now Arabic for both languages Link to comment Share on other sites More sharing options...
vekia Posted January 11, 2015 Share Posted January 11, 2015 could we check the language id and then use the right link? yes, this is what i wanted to do :-) {if $lang_iso=="en"} <script id="facebook-jssdk" src="//connect.facebook.net/en_EN/all.js#xfbml=1&appId=820600224657190"></script> {elseif $lang_iso=="ar"} <script id="facebook-jssdk" src="//connect.facebook.net/ar_AR/all.js#xfbml=1&appId=820600224657190"></script> {/if} btw. thank you for posting again, i missed your reply :-) 1 Link to comment Share on other sites More sharing options...
elektrojo Posted January 12, 2015 Author Share Posted January 12, 2015 yes, this is what i wanted to do :-) {if $lang_iso=="en"} <script id="facebook-jssdk" src="//connect.facebook.net/en_EN/all.js#xfbml=1&appId=820600224657190"></script> {elseif $lang_iso=="ar"} <script id="facebook-jssdk" src="//connect.facebook.net/ar_AR/all.js#xfbml=1&appId=820600224657190"></script> {/if} btw. thank you for posting again, i missed your reply :-) Many thanks, could I use the same code for your comments module? Link to comment Share on other sites More sharing options...
vekia Posted January 12, 2015 Share Posted January 12, 2015 i think that comments should work now well, it doesnt? Link to comment Share on other sites More sharing options...
elektrojo Posted January 12, 2015 Author Share Posted January 12, 2015 no, btw I use your module Link to comment Share on other sites More sharing options...
elektrojo Posted January 12, 2015 Author Share Posted January 12, 2015 I used it in the header.tpl and it worked Link to comment Share on other sites More sharing options...
vekia Posted January 12, 2015 Share Posted January 12, 2015 sooo... finally solved? everything? ;-) i checked your website and it works!!! Link to comment Share on other sites More sharing options...
elektrojo Posted January 12, 2015 Author Share Posted January 12, 2015 YES! thanks marked as solved. Link to comment Share on other sites More sharing options...
unicomp Posted February 14, 2016 Share Posted February 14, 2016 I installed this module and doesn't work. The tab is displayed at the product footer but it only shows COMMENTS() I think is not working for me cause it does not show the comment field 1 Link to comment Share on other sites More sharing options...
vicbg Posted October 26, 2016 Share Posted October 26, 2016 I installed this module and doesn't work. The tab is displayed at the product footer but it only shows COMMENTS() I think is not working for me cause it does not show the comment field Same for me. @Vekia, can you help us mate? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now