× Joomla Facebook Connect support forum

Topic-icon frames

Active Subscriptions:

None
15 years 9 months ago #4317 by fb_586976114
frames was created by fb_586976114
the new version of login seems to break my frame. instead of loading in the main frame below it replaces everything. it never did that in the previous version. is there a way for me to change this?
The topic has been locked.
Support Specialist
15 years 9 months ago #4338 by mel
Replied by mel on topic frames
Can you give us a website link to view this problem? We're not quite sure what you mean.

Thanks
-Melissa
The topic has been locked.
Active Subscriptions:

None
15 years 9 months ago #4344 by fb_586976114
Replied by fb_586976114 on topic frames
The topic has been locked.
Support Specialist
15 years 9 months ago #4370 by alzander
Replied by alzander on topic frames
Hmmm. Not sure why that is, but we can definitely see the issue on your site. Facebook changed around their login pop-up completely when using the new API, and we had to work around some things.. we'll set up a development page using frames and see what we can do to get this working for you.
The topic has been locked.
Support Specialist
15 years 9 months ago #4371 by alzander
Replied by alzander on topic frames
Alright.. that was quicker than I thought. The below should be a solution to your problem, which we'll test further and likely include in all future releases:
/components/com_jfbconnect/controller.php, line ~117, change the line from
print 'window.top.location = "'.$permsUrl.'";';
TO:
print 'self.location = "'.$permsUrl.'";';

window.top will redirect the entire 'window', while self will redirect the frame.. which in most sites that don't use frame, will be the entire window.

Please test, if you don't mind making the code change, and let us know how this goes. Thanks!
The topic has been locked.