Topic-icon SCLogin and mobile template issue II

Active Subscriptions:

None
14 years 3 weeks ago #22688 by sbouloc
Hello all,
I have managed to make the SCLogin to work on a yootheme mobile template. See this post:
www.sourcecoast.com/forums/jfbconnect/jf...obile-template-issue

However I had to switch back to a Gavick template, and the same problem occured again. It seems that the javascripts are not loaded in the mobile template. The button appear as plain text. I have posted on the Gavick forum but can't get a solution from there until now. I have tried to replicate the steps I made on the yootheme template onto the gavick template but was not successfull.

I hope you can help me on that.
Site is visible here.

Thank you.
The topic has been locked.
Support Specialist
14 years 3 weeks ago #22696 by alzander
Stéphane,
On the page you linked to, the Gavick Facebook integration looks to be enabled. That definitely needs to be disabled, as it will cause conflicts with JFBConnect on your main, non-mobile site. The JFBConnect Error Checker should also call that out. If it isn't, please let us know.

As for the mobile template, I'm not sure how to make it work for Gavick. If you can show me how to load your mobile template on a desktop browser, I can at least verify what the issue is. However, if the template's stripping out our Javascript, that's something you'd need to get fixed by them as we don't know every template vendor's methods.

Hope that helps, and definitely keep us posted on what you find.

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

None
14 years 3 weeks ago #22712 by sbouloc
Hello alzander
I have disabled the GKFacebook on the template. I haven't noticed any error warnings about this. Maybe I was just not paying attention.

I have set a menu item ('mobile' in the top menu, next to the login button) with the mobile theme. Here's the direct link:
Mobile theme
I have set a JFBLogin module on top of that page, right bellow the menu and search buttons.

Thank you for trying.
The topic has been locked.
Support Specialist
14 years 3 weeks ago #22733 by alzander
In the Autotune -> Error Checker area of JFBConnect, it should have called it out. If it's already off, no worries.. we can see the problem manually as well ;)

As for the login button missing, yes, again, something is stripping our Javascript code. The body tag and contents after look like:
<body><div id="fb-root"></div>

<div style="di....
That space in the middle is where our code should go.. but it's missing! JFBConnect is also adding the fb-root div, so our plugin is working, but then something's coming along and removing that extra stuff. Not good. What are you using to switch to the mobile template? Is there any settings you can disable in there to preven it from optimizing or doing whatever it's doing?

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

None
14 years 2 weeks ago #22745 by sbouloc
The mobile template is part of the Gavick template. I can only select if I want to use it or not. If I disable it, they mobile users will see the desktop template, which isn't convenient because of the amount of material on each page.

I have pasted your comments on their forum and see if it can point them to the right direction.
The topic has been locked.
Support Specialist
14 years 2 weeks ago #22760 by alzander
I think talking with them is best. Unfortunately, I don't have any ideas why they would be removing that coe or how to prevent it from doing that.

Please let us know what you find, and good luck!
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 2 weeks ago #22972 by sbouloc
This is just depressing. Almost a month since I asked them about this issue and they are just saying they work on it...
The topic has been locked.
Support Specialist
14 years 2 weeks ago #22976 by alzander
Sorry for the troubles. I wish there was something we could do on our end. Definitely let us know what the outcome is. If there's anything they say we should do different, we'll gladly look into it.. but from what we can see, they're simply stripping code from other extensions, and it's tough for us to fix that.

Thanks, and good luck,
Alex
The topic has been locked.