1
I'm trying to put Facebook Comments Plugin into my AMS Article Template file, but it's not working.
Comment Plugin not appear in the bottom of articles.
The Code like this:
<div id="fb-root">div><script src="http://connect.facebook.net/en_US/all.js#appId=173169099366425&xfbml=1">script><fb:comments width="425">fb:comments>
<div id="fb-root">div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: '173169099366425', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol +
'//connect.facebook.net/ms_MY/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
script>
This code working properly when used in single file like this link:
http://ideologi.my/v3/modules/AMS/test2.htmlBut not working in Article Pages in AMS module. For reference, see this link, no comment plugin appear at the bottom of page:
http://ideologi.my/v3/modules/AMS/article.php?storyid=6Thanks in advanced.