수정파일
rhymix-sketchbook/css/board.css
.bd .ico_sns16.pinterest{background-position:0 -48px}를
.bd .ico_sns16.kakao{background-position:0 -80px}로 수정
0,16,32,48,64,80,96,112
rhymix-sketchbook/_read.html
맨 하단에
<block cond="$mi->kakao_key">
<script defer="">
window.addEventListener('DOMContentLoaded', function() {
Kakao.init('{$mi->kakao_key}');
});
function sendLink() {
Kakao.Link.sendDefault({
objectType: 'feed',
content: {
title: "{$oDocument->getTitle()}",
description: '{$oDocument->getSummary()}',
imageUrl: '{$oDocument->getThumbnail(750, 465, 'crop')}',
link: {
mobileWebUrl: '{$oDocument->getPermanentUrl()}',
webUrl: '{$oDocument->getPermanentUrl()}'
}
},
social: {
likeCount: {$oDocument->get('voted_count')},
commentCount: {$oDocument->getCommentCount()},
viewCount: {$oDocument->get('readed_count')}
},
buttons: [
{
title: '{$lang->cmd_view}',
link: {
mobileWebUrl: '{$oDocument->getPermanentUrl()}',
webUrl: '{$oDocument->getPermanentUrl()}'
}
}
]
});
}
</script>
</block>
추가
rhymix-sketchbook/_read_sns.html
<div class="rd_nav img_tx to_sns fl" data-url="{$sns_link}" data-permanenturl="{$oDocument->getPermanentUrl()}" data-title="{$sns_title}">
<a class="{$mi->to_sns_small}" href="#" data-type="facebook" title="To Facebook"><i class="ico_sns16 facebook"></i><strong> Facebook</strong></a>
<a class="{$mi->to_sns_small}" href="#" data-type="twitter" title="To Twitter"><i class="ico_sns16 twitter"></i><strong> Twitter</strong></a>
<a id="kakao-link-btn" class="{$mi->to_sns_small}" href="javascript:sendLink()" title="To Kakao" cond="$mi->kakao_key"><i class="ico_sns16 kakao"></i><strong> Kakao</strong></a>
<a class="{$mi->to_sns_small}" href="#" data-type="kakaostory" title="To KakaoStory"><i class="ico_sns16 kakaostory"></i><strong> KakaoStory</strong></a>
<a class="{$mi->to_sns_small}" href="#" data-type="band" title="To Band"><i class="ico_sns16 band"></i><strong> Band</strong></a>
</div>