Black Friday / Cyber Monday Special - 10% Off - Use "CYBER10" at checkout!

Topic-icon Changing text of Facebook login button

Active Subscriptions:

None
6 years 9 months ago #51379 by guero
Hello,

Is it possible to change the text of the Facebook login button?

In the Joomla backend, I go to JFBConnect -> Social -> Examples tab and there it says

Facebook - Login
{JFBCLogin}
{JFBCLogin text=Login With Facebook logout=true logout_url=http://www.sourcecoast.com}

Parameter Options Description
text text Text displayed on the Facebook Login Button
providers text Login Buttons will be shown for providers in this comma-separated list. Leave blank to show all providers. Example:facebook,google,twitter,linkedin
image text Specify the file name of the images to display, located in the /media/sourcecoast/images/provider folders. Example:icon_label.png
logout false, 0, true, 1 When user is logged in and 'Show Logout' is enabled, the logout button or link will be displayed.
logout_url text Select the page the user will be redirected to after a successful logout. Leave blank to logout to the same page.

However, the text parameter does not change the "Text displayed on the Facebook Login Button" but it just adds that text in front of the Facebook button.

How may I specify a parameter that would change the text of the actual button itself?

It appears to me as if the button is actually an image and as such it appears it would not be possible to simply change the text with parameter? Whereas the 'button' shown in the help at www.sourcecoast.com/jfbconnect/features/...acebook-login-button looks like it could be changed with a parameter.

I am a bit confused on how to go about this.

Thank you,
Oliver
The topic has been locked.
Support Specialist
6 years 9 months ago #51388 by mel
Oliver,

* Yes, we use images now for login buttons, not text with styling around it.
* Yes, the text parameter on the {JFBCLogin} easy-tag is actually intro text that will appear before the button, not the button text.
* The description shown for the example/parameters is outdated and the image on that link is also outdated. I've made a note to update these.

There are two options that I see for allowing you to customize your buttons:
1. Create your own link with custom text and style it to look like a button
<a href="javascript:void(0)" onclick="jfbc.login.provider('facebook');">NEW FB LOGIN TEXT HERE</a>
2. Create your own button image with customized text. Then follow the steps found at the following link to add it to JFBConnect:
www.sourcecoast.com/jfbconnect/docs/social-login/login-button

I hope this helps clarify the issue and sorry for the confusion with the outdated information. Please let us know if you have any other questions or problems implementing one of the two above solutions.

-Melissa
The topic has been locked.
Social Stream
Hide. Seek. Play!

Countdown Hide & Seek Game

Countdown, the new hide & seek toy, is available now! Designed and developed by the founders of SourceCoast, it's the perfect toy to get your kids moving at all ages.

Learn More About the Hide and Seek Toy