I'm fairly new to SilverStripe and have been learning the ropes for the past couple days. I am trying to port my existing site into my new SilverStripe site and am running into some annoying problems.
The old site was built around php facebook-connect and now in the new site I'm trying to simply get this FB login button to display on my index page:
<fb:login-button size="medium" background="light" length="long" onlogin="facebook_onlogin_ready();"></fb:login-button>
But nothing shows up! In my IndexPage page_controller init() method i have:
and in my IndexPage.ss I have changed the top to:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
Which *I think* is all I need to do according to this document:
Any insight as to why this login button is not appearing is greatly appreciated!