Forum is closed

Hover over text "Login With LinkedIn" not showing in SCLogin

Hover over text "Login With LinkedIn" not showing in SCLogin

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.

freell
useravatar
Offline
18 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

Hi,
Thanks for the quick reply. The page where you have to take a look is http://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.

freell
useravatar
Offline
18 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

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:

Code:

        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:

Code:

        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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

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.

freell
useravatar
Offline
18 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

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.

freell
useravatar
Offline
18 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

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:

Code:

 if (SCSocialUtilities::isJLinkedInstalled()) 

to

Code:

 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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

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.

freell
useravatar
Offline
18 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

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:

Code:

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

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

Hi Alex,

Thank you very much!!! This one did the trick.

Could you also still answer the Question about which CSS file is used for the Buttons in the SCLogin Module?
This because I would like to alter the colors a bit to more align them with my template.

Thanks again.
Your module is well worth the money (not to speak of the great support!!!)

Best regards,

Fred.

freell
useravatar
Offline
18 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

Fred,
Thanks for the compliments on the extension. We're always working to make things better (and ideally require no support). Of course, should you have any feedback for improvements or other suggestions, just let me know.

As for the CSS about the buttons.. currently, our styles are a bit of a mess. The next release (in a few weeks) will break out the styles a lot more for the SCLogin module into 'themes' that can be more easily manipulated. For now, use the following styles:
Login Button

Code:

.sourcecoast button.btn.btn-primary {

background: black !important;
}

Register Button

Code:

.sourcecoast a.btn {

background: black !important;
}

Obviously, change the styles above as you see fit or add :hover to the end of the style name to target the mouse-over condition.

I hope that helps,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

Hi Alex,

Could you please let me know in which CSS file these buttons are defined?

In mean where do I alter the .sourcecoast button.btn.btn-primary code?

Thnx,

Fred.

freell
useravatar
Offline
18 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

Those styles are currently in the /media/sourcecoast/css/sc_bootstrap.css file. That file is minified and not easy to edit though. You can put those styles in your template, or any other, CSS file and they should work with the !important tag.

The next release of JFBConnect will have a broken out style for the the 'theme' of the SCLogin module. That will make it much easier to add, or alter, styles.

I hope that helps,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

Hi Alex,

Just a questions about the new release...

Do you have an estimate when it will be available?

I´m really looking forward to the different Styling possibilities.

Thanks again.

Fred

freell
useravatar
Offline
18 Posts
Active Subscriptions:

None
Administrator has disabled public posting. Please login or register in order to proceed.

Re: Hover over text "Login With LinkedIn" not showing in SCLogin

The new release is out. It came out at the end of last week, but we haven't sent out a newsletter announcement for it yet.. That will hopefully be out later this week.

In the meantime, I'd recommend checking out:
JFBConnect v6 release blog post
JLinked to JFBConnect migration guide

As for the additional stylings for the SCLogin module, we haven't documented those well yet. However, here's a quick overview:
* We include the 'default' and 'sourcecoast' theme CSS files
* They are located in /media/sourcecoast/themes/sclogin/
* To create your own theme, copy the CSS file from that directory to /templates/<YOUR_TEMPLATE>/html/mod_sclogin/themes/
* Rename the file to something like "mystyles"
* In the SCLogin module, for the setting of the theme, you should now have an option for "mystyles". Select that, and your CSS file will be included automatically, and should make creating overrides much simpler.

I hope that helps, but if you have any other questions, just let me know.

Thanks,
Alex

If you use our extensions, please consider leaving a rating and review at the Joomla! Extension Directory:
JFBConnect | SCLogin

alzander
Alex
useravatar
Offline
23810 Posts
Support Specialist
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests also viewing this topic
There are 0 users also viewing this topic

Board Info

Board Stats
 
Total Topics:
11497
Total Polls:
0
Total Posts:
48402
Posts today:
7
User Info
 
Total Users:
47468
Newest User:
hannatee
Members Online:
0
Guests Online:
1001

Online: 
There are no members online
Social Stream
Refer and Earn

Like our extensions? You're not alone! That's why they're used on tens of thousands of websites. Now you can earn 20% of any sale you refer to SourceCoast.com.

We provide excellent documentation, well laid out sales pages and great support. All you need to do is spread the word and we'll take care of the rest.

Learn About Our Affiliate Program