묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
facebook JavaScriptSDK코드 추가하는부분?
2012.01.01 20:16
- Include the JavaScript SDK on your page once, ideally right after the opening
<body>
tag.<div id="fb-root"></div><script>(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/ko_KR/all.js#xfbml=1";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));</script> - Add an XML namespace to the
<html>
tag of your document. This is necessary for XFBML to work in earlier versions of Internet Explorer.<html xmlns:fb="http://ogp.me/ns/fb#">라고 되어있는데, 어느부분에 어떻게 삽입해야하는지 알려주시면 감사하겠습니다.. 질문게시판에도 올릴게요..
1. 다음 코드를 ./common/tpl/common_layout.html의 90번째 행과 91번째 행 사이에 추가하세요.