× Joomla Facebook Connect support forum

Topic-icon how to change "Facebook Login" button

Active Subscriptions:

None
15 years 11 months ago #3923 by ZhaustAdmin
I want to change the facebook connect button to another image. How do i go about doing that? What/where is the file that is referenced that contains the image url?

Thanks in advance
The topic has been locked.
Support Specialist
15 years 11 months ago #3925 by alzander
In short, there is no way. That button is loaded from Facebook's server and isn't changeable. They do this to prevent you using misleading buttons to falsely get people to register to your site through Facebook (or worse).
wiki.developers.facebook.com/index.php/Fb:login-button

The text of the button can be changed (as per the URL above). If you're interested in knowing how to do that, just ask and we'll guide you through it.
The topic has been locked.
Active Subscriptions:

None
15 years 11 months ago #3926 by ZhaustAdmin
Thanks for responding quickly. Actually changing the text of the button would be ideal. I wish to change the text from "Connect" to something like "login using facebook".

Any help in changing the text would be appreciated
The topic has been locked.
Support Specialist
15 years 11 months ago #3932 by alzander
To change the text, you'll need to modify the JFBCLogin module's template slightly.

Edit the following file: /modules/mod_jfbclogin/tmpl/default.php
Find the text below at line 44:
<fb:login-button onlogin="javascript:fb_login_button_click();"></fb:login-button>
and change it to:
<fb:login-button v="2" onlogin="javascript:fb_login_button_click();">YOUR BUTTON TEXT HERE</fb:login-button>

The 2 main changes are adding 'v="2"' to the fb:login-button tag and then adding your text in between the opening and closing tags.

Hope this helps!
The topic has been locked.
Active Subscriptions:

None
15 years 11 months ago #3934 by ZhaustAdmin
works. thanks!
The topic has been locked.