지금 이온디에서 어떤 주제의 글이 새로 올라왔는지 확인해보세요.
글 등록하기 | 내글 관리하기 | 연재글 | 보관함
이온디
첨부파일 https://imweb.eond.com/xe/471222

기존에 사용하는 코드는 새로고침이 되버린다.

https://eond.com/xe/471204


modules/board/skins/user_board_dev 

해당 게시판에서 구현한 적이 있는데 다시 코드 좀 살펴보러...=33


참고자료

1) 새로고침 없는 댓글 애드온

https://xetown.com/tips/1168446

2) 베스트 댓글 애드온

https://xetown.com/download/23580

3) 나의 메뉴 위젯

https://xetown.com/tips/784922

4) 회원소개 위젯

https://xetown.com/download/1022094

5) 댓글 추천/비추천 새로고침 없이 (코어 수정 방법)

https://xetown.com/tips/130833

6) 스케치북에서 새로고침 없는 댓글 삭제

https://xetown.com/board/402724

7) 추천 모듈 (이걸 사용하면 디자인이 통일되버려서 안됨)

https://xe1.xpressengine.com/index.php?mid=download&package_id=22753651

8) 추천 애드온

https://xe1.xpressengine.com/index.php?mid=download&package_id=22753500



관련해서 내가 제일 많이 글을 썼는데

XE 관련해서 이게 검색이 잘 안되는거 같네.;;


스크랩

https://eond.com/talk/442007

https://eond.com/xe/469997


좋아요

https://eond.com/xe/441139

https://eond.com/xe/441138

코멘트 3
접기/펴기 | 댓글 새로고침
  • 이온디

    article-vote.html

    <script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
    <unload target="article-vote.scss" vars="$rxpFlexTheme->variables" />
    <load target="article-vote.js" />
    
    <div class="app-article-vote" data-target-srl="{$oDocument->document_srl}">
        {@
        $isMyVoted = $oDocument->getMyVote() == 1;
        $voteActiveClassName = $isMyVoted ? 'active' : null;
        }
        <a class="app-article-toolbar__item app--is-vote app-tooltip {$voteActiveClassName} <!--@if($isMyVoted)-->true<!--@end-->" title="좋아요" data-type="up" onclick="alArticleVote(this)">
    
            <div class="app-icon">
                <!--@if($isMyVoted)-->
                <!--<ion-icon name="triangle-sharp"></ion-icon>-->
                <i class="thumbup"></i>
                <!--@else-->
                <!--<ion-icon name="triangle-sharp"></ion-icon>-->
                <i class="thumbup"></i>
                <!--@end-->
            </div>
            <span class="app-article-vote__count">
             {$oDocument->get('voted_count') > 0 ? $oDocument->get('voted_count') : '0'}
            </span>
        </a>
    
        {@
        $isMyBlamed = $oDocument->getMyVote() == -1;
        $blameActiveClassName = $isMyBlamed ? 'active' : null;
        }
        <a class="app-article-toolbar__item app--is-blame app-tooltip {$blameActiveClassName} <!--@if($isMyBlamed)-->true<!--@end-->" title="싫어요" data-type="down" onclick="alArticleVote(this)">
    
            <div class="app-icon">
                <!--@if($isMyBlamed)-->
                <i class="thumbdown"></i>
                <!--<ion-icon name="triangle-sharp" class="rotate"></ion-icon>-->
                <!--@else-->
                <i class="thumbdown"></i>
                <!--<ion-icon name="triangle-sharp" class="rotate"></ion-icon>-->
                <!--@end-->
            </div>
            <span class="app-article-vote__count">
              {$oDocument->get('blamed_count') < 0 ? $oDocument->get('blamed_count') : '0'}
            </span>
    
        </a>
    </div>
    오후 04:23
    댓글