By Loupida on Wednesday, 27 April 2022
Posted in Technical Issues
Likes 0
Views 466
Votes 0
Hello there,

I integrated ES with JFBConnect to let users register to the site via their Facebook. JFBC has a feature to display Facebook login button as image (cf. testing site). Now i want to get rid of this image there and put a css button instead like yours.

I think i've the good code :


<a href="javascript:void(0)" onclick="jfbc.login.provider('facebook');" class="btn btn-es-facebook btn-sm btn-block">
<i class="fab fa-facebook"></i><?php echo Text::_('YOUR_LANGUAGE_CODE')?></a>


But i don't know where to place it.
I need for this css button on every place in ES where the Facebook Login button of JFBConnect is supposed to display.

Help please.
Hey there,

Unfortunately, our support does not cover customization.
·
Wednesday, 27 April 2022 12:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello there,

It's not a customization job i request. I just want to know the ES files where Social buttons code is set so i could override it myself.

Best regards.
·
Wednesday, 27 April 2022 15:37
·
0 Likes
·
0 Votes
·
0 Comments
·
The JFBConnect button is coming from JoomlaFolder/components/com_easysocial/themes/wireframe/facebook/button.jfbconnect.php.

You can copy the button.jfbconnect.php file from JoomlaFolder/components/com_easysocial/themes/wireframe/facebook/button.jfbconnect.php and paste it at its template override location which is at JoomlaFolder/templates/YourCurrentTemplate/html/com_easysocial/facebook/button.jfbconnect.php.

After that, you can edit the button.jfbconnect.php file which is at the template override location.
·
Wednesday, 27 April 2022 17:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello there,

I revert back to you about this issue, just to notify that i managed to override the file.

Thanks for the support.

Best regards.
·
Tuesday, 03 May 2022 05:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusion in the future. Please start a new thread if you have any other issues in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Thursday, 05 May 2022 10:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post