웹마스터 팁
스케치북게시판 최신버전에 네이트온 /마이피플/플립보드 추가하는 방법
2015.03.09 14:20
스케치북게시판 최신버전에 네이트온 /마이피플/플립보드 추가하는 방법 입니다.
코드 하이라이트 기능이 작동안하는군요 !!!
1) _read.html 에서 325줄에서
<!--@if(Mobile::isMobileCheckByAgent())-->
<a class="kakaostory" href="storylink://posting?post={$oDocument->getPermanentUrl()}&appid=m.kakao.com&appver=1.0&apiver=1.0&appname={$mi->title}"><b class="ico_sns kakaostory">KakaoStory</b></a>
<a class="band" href="bandapp://create/post?text={$sns_title}%0A{$sns_link}"><b class="ico_sns band">Band</b></a>
<a class="kakao" href="#" data-type="kakao"><b class="ico_sns kakao">Kakao</b></a>
<a class="line" href="line://msg/text/?{$sns_title}%0D%0A{$sns_link}"><b class="ico_sns line">Line</b></a>
<a class="mypeople" href="https://m.mypeople.daum.net/mypeople/mweb/share.do?link={$sns_link}&prefix={$sns_title}&source_id=none"><b class="ico_sns mypeople">Mypeople</b></a>
<!--<a class="nateon" href="http://api.nateon.nate.com/web/note/SendNote.do?msg={$sns_title}&lurl={$sns_link}"><b class="ico_sns nateon">Nateon</b></a>-->
<a class="flipboard" href="https://share.flipboard.com/bookmarklet/popout?v=2&title={$sns_title}&url={$sns_link}&utm_campaign=widgets&utm_medium=web&utm_source=flipit&utm_content=4880.net""><b class="ico_sns flipboard">flipboard</b></a>
<!--@else-->
<a class="kakaostory bubble" href="#" data-type="kakaostory" title="To KakaoStory"><b class="ico_sns kakaostory">KakaoStory</b></a>
<a class="band bubble" href="#" data-type="band" title="To Band"><b class="ico_sns band">Band</b></a>
<a class="mypeople bubble" href="#" data-type="mypeople" title="To Mypeople"><b class="ico_sns mypeople">Mypeople</b></a>
<a class="nateon bubble" href="#" data-type="nateon" title="To Nateon"><b class="ico_sns nateon">Nateon</b></a>
<a class="flipboard bubble" href="#" data-type="flipboard" title="To Flipboard"><b class="ico_sns flipboard">Flipboard</b></a>
<!--@end-->
2) js/borad.js 에서 411줄에서
} else if(type=="kakaostory"){
loc = 'https://story.kakao.com/share?url='+encodeURIComponent(href);
} else if(type=="band"){
loc = 'http://www.band.us/plugin/share?body='+encodeURIComponent(title)+'%0A'+encodeURIComponent(href);
} else if(type=="mypeople"){
loc = 'https://mypeople.daum.net/mypeople/web/share.do?link='+encodeURIComponent(href)+'&prefix='+encodeURIComponent(title)+'&source_id=none';
} else if(type=="nateon"){
loc = 'http://api.nateon.nate.com/web/note/SendNote.do?msg='+encodeURIComponent(title)+'&lurl='+encodeURIComponent(href);
} else if(type=="flipboard"){
loc = 'https://share.flipboard.com/bookmarklet/popout?v=2&title='+encodeURIComponent(title)+'&url='+encodeURIComponent(href)+'&utm_campaign=widgets&utm_medium=web&utm_source=flipit&utm_content=4880.net';
3) _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 class="{$mi->to_sns_small}" href="#" data-type="google" title="To Google"><i class="ico_sns16 google"></i><strong> Google</strong></a>
<a class="{$mi->to_sns_small}" href="#" data-type="pinterest" title="To Pinterest"><i class="ico_sns16 pinterest"></i><strong> Pinterest</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>
<a class="{$mi->to_sns_small}" href="#" data-type="mypeople" title="To Mypeople"><i class="ico_sns16 mypeople"></i><strong> Mypeople</strong></a>
<a class="{$mi->to_sns_small}" href="#" data-type="nateon" title="To Nateon"><i class="ico_sns16 nateon"></i><strong> Nateon</strong></a>
<a class="{$mi->to_sns_small}" href="#" data-type="flipboard" title="To flipboard"><i class="ico_sns16 flipboard"></i><strong> Flipboard</strong></a>
</div>
아래와 같이 나옵니다. ico을 만들지 못해 기존의 아이콘이 그대로 나옵니다. 아이콘 만들어 주실분 ^^;;;
웹기준입니다.
댓글 4
-
socialskyo
2015.03.09 20:22
-
비밀얌
2015.03.10 12:23
좋은 정보네요. 혹시 모바일 접속시 이메일로 보내기 버튼은 어떻게 만드는지 아시나요 -
가을풍경
2015.03.12 01:23
-
가가가과갸
2015.04.01 03:30
감사합니다
오우!! 감사합니다..아이콘도 누군가 만들어주면 좋겠네요^^