Facebook Login Graphic Posted by mark_3094 19 Nov 2016 08:50 UTC I recently enabled Facebook logins. I have had LinkedIn logins enabled for a while, and they both seem to work. The only trouble is that the facebook graphic does not display (see attached). The LinkedIn graphic is fine. Any ideas where I can start with this issue? login.PNG (9.73 Kb)
Posted by mark_3094 21 Nov 2016 10:11 UTC I have found this in the HTML code for the login page: < a href="tiki-socialnetworks.php?request_facebook=true" > < img src="https://developers.facebook.com/docs/facebook-login/web/login-button" > < / a > This does not appear to be pointing to a valid image. In contrast, the LinkedIn HTML looks like: < a href="tiki-socialnetworks_linkedin.php?connect=y" > < img width="154px" src="https://content.linkedin.com/content/dam/developer/global/en_US/site/img/signin-button.png" > < / a > Any idea which file generates this HTML code? I'd be happy to point it manually, but having no image there doesn't help. Thanks
Posted by Tom Jarvis 23 Nov 2016 07:16 UTC The code is generated in: templates/modules/mod-login_box.tpl The URL in the facebook image file is actually a link to a page that will generate code for a facebook button. But I don't know if the code generated will work as a replacement for the bad image file code in the template. Tom
Posted by mark_3094 23 Nov 2016 10:57 UTC Thanks, this is very helpful. I have changed this line: < div style="text-align: center" >< a href="tiki-socialnetworks.php?request_facebook=true" >< img src="https://developers.facebook.com/docs/facebook-login/web/login-button" >< /a >< /div > to < div style="text-align: center" >< a href="tiki-socialnetworks.php?request_facebook=true" >< img src="https://www.facebook.com/images/fb_icon_325x325.png" >< /a >< /div > (spaces added to the tags) This is now working. Thanks, I really appreciate it