Facebook mod bugs:
The Subsilver2 XML File is missing the themplate style... you need to place the modx.prosilver.en.xsl into the contrib folder
The edits for the prosilver overall_header.html are a bit weird in my opinion..
I Think they should look something like this :
- Code: Select all
<script type="text/javascript">
window.fbAsyncInit = function()
{
FB.init({appId: 'XXXX1', status: true, cookie: true, xfbml: true});
};
(function()
{
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}
());
FB.init("XXX2");
</script>
I tested that and works fine .. but i think it would be nicer to add the script into a javascript file and load it by src and be sure it wont produce any silly validation errors













