Drupal module Facebook Connect


Author Message
Gregory

Posted: 6/17/2011
Quote message 

Hi all,
i installed the Facebook Connect module in Drupal 7. Does anyone know where I have to put the following code:

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language ?>" lang="<?php print $language ?>" xmlns:fb="http://www.facebook.com/2008/fbml">

The Artisteer page.tpl.php page does not contain any html. When inserting this code, with </html> after the code or at te bottom, I get an error and my site is not available.

Who knows the answer?

Gregory
 
Magyar

Posted: 7/12/2011
Quote message 

Hi,

I am using this module successfully and added it to page.tpl.php as it stood, even though it did not have any HTML.

The only other logical choice was template.php, which has the HTML tags, but doing this would break the page.

Youll want to add an HTML closure tag at the end of your PHP document.