Download & Extend

Problem with fbconnect + Advanced forum + corrupted theme in IE9

Project:Facebook Connect
Version:6.x-2.0-beta1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

I got this module working with adding XFBML stuff as said in readme.txt

I didn't have tag in my page.tpl.php so i just pasted it just in the beginning of file like this:

<html xmlns:fb="http://www.facebook.com/2008/fbml"
                    xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>"
                    lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
<?php
require_once("inc/ImageGallery.php");
require_once("inc/header.php");

if($is_front) {
require_once("frontpage.php");
} else {

$tmp_node = node_load(arg(1));

if (arg(0)=="forum" || $tmp_node->type == "forum") {
require_once("subpage_forum.php");
} elseif ($tmp_node->type == "gallery") {
require_once("subpage_gallery.php");
} else {
require_once("subpage.php");
}
}

require_once("inc/footer.php");
print $closure;

Is this right at all? Should i add XFBML other way?

With Firefox everything is working ok except forum (image1)
With IE9 theme is totally broken (image2)

AttachmentSize
1.jpg296.42 KB

Comments

#1

forgot the second image...

AttachmentSize
2.jpg 296.42 KB

#2

and finally the right picture.... =)

AttachmentSize
Leikepöytä02.jpg 104.66 KB
nobody click here