Topic-icon Hover over text "Login With LinkedIn" not showing in SCLogin

Active Subscriptions:

None
The LinkedIn button is showing just fine and also working but the "Hover over text" "Login With LinkedIn" is not showing.

It seems that the COM_JLINKED_LOGIN_USING_LINKEDIN is not doing anything.

Please could you have a look?

Thanks in advance.

Fred.
The topic has been locked.
Support Specialist
We'll gladly take a look.. can you let us know what page we should be looking at? Just to make sure, you're saying the hover text of the button isn't showing properly, correct?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi,
Thanks for the quick reply. The page where you have to take a look is it-answer.com/inloggen

You are correct, the hover text of the button isn't showing properly. The button itself is working just fine.

Could you also please let me know in which CSS file the style & color of the "Register" "Forgot Username" "Forgot password" and "Register" buttons are defined?

Thanks again.

Fred.
The topic has been locked.
Support Specialist
Ahhh, thanks for the info. That looks to be a bug in JFBConnect. Right now, we're in the process of integrating JLinked functionality into JFBConnect. In JFBConnect v5.2, we detect that JLinked is installed and will add it's button whenever JFBConnect is asked for it's social buttons. That makes things simpler so everything seems to work together.

It looks like we left the title off the image for the LinkedIn button though. If you want to fix now, you'd need to edit the /components/com_jfbconnect/libraries/provider/facebook.php file. Around line 162, you'll see:
if (SCSocialUtilities::isJLinkedInstalled())
            $html .= '<div class="jLinkedLoginImage pull-left"><a class="show" id="sc_lilogin" href="javascript:void(0)" onclick="jlinked.login.login();"><img src="' . JURI::root() . 'media/sourcecoast/images/provider/button_linkedin.png" /></a></div>';
Update that img tag with the alt tag and the a with the title tag, like below, and you should be good:
if (SCSocialUtilities::isJLinkedInstalled())
            $html .= '<div class="jLinkedLoginImage pull-left"><a title="Login with LinkedIn" class="show" id="sc_lilogin" href="javascript:void(0)" onclick="jlinked.login.login();"><img alt="Login with LinkedIn" src="' . JURI::root() . 'media/sourcecoast/images/provider/button_linkedin.png" /></a></div>';

The next release of JFBConnect (due out in February) which integrates LinkedIn functionality already has this fix implemented, just so you know.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi Alex,

I have looked at the Facebook.php at the mentioned location, but there is nothing mentioned about JLinked in that file...

Is it possible you meant another file?

Thanks,

Fred.
The topic has been locked.
Support Specialist
Apologies. I'm not sure what version of JFBConnect I was looking at... the proper file is /components/com_jfbconnect/libraries/provider.php at line 150. It's the same change as above.

Sorry about that, and I hope that gets you going. If not, just let us know, and we'll gladly help however we can!

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi Alex,

I have found the code and changed it to what you have sudgested.
Altough it still does not work.
Could you please look at it again?

Thanks,

Fred.
The topic has been locked.
Support Specialist
Fred,
I've double-checked and tested that change. It looks correct in every way I can tell. I'm not sure where the difference lies between what I've provided and what you're implementing, but all I can ask is for you to double check your change.

Other things to check/try:
* Make sure you've cleaned any Joomla caches you have enabled. This could be Joomla's cache, your template, or any 3rd party caching extensions.
* Change the following line:
if (SCSocialUtilities::isJLinkedInstalled())
to
if (false)
That should hide the button altogether. Knowing if that hides the button will help narrow down a few different things, so let us know what happens then.

Keep me posted. We'll gladly help investigate more, but I'm really not sure where else that button would be placed there. We've searched the code and that's the main place it's inserted.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi Alex,

When I put if (false) the button for linkedin does not disappear.
Should I look for a .php file in the COM_Jlinked folder??

Thanks,

Fred.
The topic has been locked.
Support Specialist
I apologize. I was looking at some different code than the v5.2.2 release of JFBConnect and the SCLogin module. The SCLogin module loads the LinkedIn button on it's own. To add the title/alt tag, please edit the /modules/mod_sclogin/helper.php file. Around line 564, you'll see:
return '<div class="jLinkedLoginImage pull-' . $alignment . '"><a' . $display . ' id="sc_lilogin" href="javascript:void(0)" onclick="jlinked.login.login();"><img src="' . $buttonImage . '" /></a></div>';
Update that however you need and you should be good to go.

I hope that helps, and sorry for the confusion!

Thanks,
Alex
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.

Get the Hide and Seek Toy on Amazon