Topic-icon Conflict between Sobipro and SCLogin

Active Subscriptions:

None
On my test site at crypto.cyberhorse.com.au clicking on the login button on any of the Sobipro Directory pages produces a Flash as the modal tries to load but it doesn't render.

Seems to be some sort of JavaScript conflict but I can't work out what it is.
The topic has been locked.
Support Specialist
5 years 3 months ago #64919 by mel
Sorry for the delay in our response. I visited before and could see the behavior in question. I just visited your page again to check this out and the modal appears to be popping up properly now. . Are you still having any problems with it?

-Melissa
The topic has been locked.
Active Subscriptions:

None
5 years 3 months ago #64924 by fb_1127481405
Yes I am Melissa.

Not sure what I might have done to temporarily fix it but its the same now as it was when I first reported the problem.
The topic has been locked.
Support Specialist
5 years 3 months ago #64929 by mel
Hmm, well visiting your page, the modal is popping up correctly for me still. Generally when the modal flashes and closes, there's some bootstrap conflict. For example, another extension or your template is loading the bootstrap javascript file as well. If you encounter it again, take note of whether you've made any changes for bootstrap and you can also tinker with the JFBConnect backend > Configuration > General > "Load jQuery/Bootstrap" option.

-Melissa
The topic has been locked.
Support Specialist
5 years 3 months ago #64933 by alzander
Just to note, we're testing with Chrome. If you're using another browser, please try with Chrome and/or let us know your browser of choice.

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

None
5 years 3 months ago #64938 by fb_1127481405
Was using Firefox and Safari. Not using JFBC yet as I haven't set up a FB page.

You gave me good clue by mentioning a JS conflict. I noticed that in the SCLogin advanced tab Load Jquery was set off.

Problem solved by turning it on. Sobipro uses Bootstrap 3 but I gather that does not load Jquery?

There are so many components and modules and plugins that have options to load Bootstrap and jquery. Can you safely say yes to all of them and they will be loaded just once or will your page become bloated with multiple loads of each?

Any easy way to find out?
The topic has been locked.
Support Specialist
5 years 3 months ago #64943 by alzander
I'm not sure what Sobipro uses.

JFBConnect does require both Bootstrap and JQuery loaded. We use the compatible versions with what Joomla 3.x uses, so if your template loads jQuery and Bootstrap from Joomla, then JFBConnect/SCLogin does not need to include it's own copy.

We offer the option to enable JQuery and Bootstrap though which loads a specialized 'namespaced' version of those libraries that *only* works with JFBConnect. That can double (or more) include those files, but prevents conflicts with other versions or altered versions of those libraries.

There's not much that can be done about multiple inclusions though, it's a part of life with so many components, templates and Joomla itself all using different versions of the same libraries.

I hope that helps explain,
Alex
The topic has been locked.