Loading...
 
Features / Usability

Features / Usability


Facebook Login Graphic

posts: 53 Australia

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?

posts: 53 Australia

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


posts: 214

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

posts: 53 Australia

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