Topic-icon Various Minor Issues

Active Subscriptions:

None
12 years 3 months ago #41308 by orymcl
Various Minor Issues was created by orymcl
1. The login module for my offline page is pushed to the bottom leaving a big empty gap, when I have JFBCONNECT enabled.

File Attachment:

for a live example visit www.opotiki.net.nz

2. Also since I installed JFBCONNECT I now get a warning on the homepage when logging in.

Warning

Error loading component: , Component not found

File Attachment:


Any idea's and preferably solutions would be great! I am sure I can css a solution for the first issue, but why is it, that the login module on the offline page is being pushed to the bottom of the page?

Thanks in advance.
The topic has been locked.
Support Specialist
12 years 3 months ago #41320 by alzander
Replied by alzander on topic Various Minor Issues
1) I'm honestly not sure what's happening there. There is some code from JFBConnect being inserted into the page, which is standard fare, but other content we push into the page (like our Javascript files) are not. The only thing I can see being 'added' to the page is the inclusion of the Facebook Javascript library. I'm not sure how or why that would mess with the styles on that page.

Once thing that is happening is that a Javascript error is being thrown on the page because our Javascript library (jfbconnect.js) isn't being loaded. That's causing the Facebook Javascript code to throw an error which *may* be preventing other Javascript on your page from running properly... possibly to position that login box in the correct spot.

The solution(s) would be:
* Disable the JFBCSystem plugin when in Offline mode
* Fix the Offline template to properly load the Joomla-generated <head> section, which should load our Javascript
* Help me understand how the box is positioned in the center of the screen in the first place, and maybe we can work around the issue. Looking at the CSS, it doesn't seem to be simple CSS that's centering it, but I could be wrong.
* Hack JFBConnect to not do anything in Offline mode. This could be a lot tricker. I can help, but I'd honestly recommend one of the other options first.

2) We've never seen that issue before. However, here are the things I'd recommend:
* Disable all of the Social Profile plugins you have enabled and test again. If the problem goes away, enable each plugin individually and narrow down which one is causing the problem. Let us know that.
* Check in the Joomla -> Installer -> Manage (tab) that JFBConnect is "enabled" or "published". Also, check that any other extensions you're using are properly published. Joomla lets you unpublish full extensions, but some functions from them still work, which could get you in the situation above.
* Test while the site is not in Offline mode (in case that's how you're testing).

Finally, if none of that helps, can you describe more about how the problem occurs? When you login, are you using a social network credential (Facebook, Google, etc) or Joomla credentials? Are you using the SCLogin module, or a different login area? Any information you can provide will help.

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

None
12 years 3 months ago #41355 by orymcl
Replied by orymcl on topic Various Minor Issues
1. Box is positioned in the cerntre because that is default on all joomla offline pages.

2. Fix the Offline template to properly load the Joomla-generated <head> section, which should load our Javascript . How do I do this?

Can I just send you admin details so you can have a look from the backend?
The topic has been locked.
Active Subscriptions:

None
12 years 3 months ago #41410 by orymcl
Replied by orymcl on topic Various Minor Issues
Hello? still no solutions.
The topic has been locked.
Support Specialist
12 years 3 months ago #41438 by alzander
Replied by alzander on topic Various Minor Issues
Sorry for the delay. We got caught up in some JFBConnect v6.0 release issues that slowed down support a little more than normal.

1. Box is positioned in the cerntre because that is default on all joomla offline pages.

No, it's not. The Joomla offline pages have the login area fixed in the center of the page. Your template is using a fixed background with some CSS (or Javascript) to scroll the front layer. Switch to one of the built-in Joomla templates and I'm betting the Offline page would work.

Your site is 'online' now, so I can't investigate further. However, the background on the live site is the same as the offline page in that they are not 'connected' when scrolling. That's fine, and looks great, but it means that the CSS and Javascript have to work together properly to pull it off.

2. Fix the Offline template to properly load the Joomla-generated <head> section, which should load our Javascript . How do I do this?

It should already. The standard /templates/system/offline.php already includes the following line:
<jdoc:include type="head" />
You'll need to include that in the template's offline code to properly insert the head data. Again, I'm not certain that will fix all the issues, but it should get around the current Javascript error you're seeing.

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