모바일에서 댓글에 레벨 아이콘을 표시하려고 합니다.
https://xe1.xpressengine.com/tip/22279536
여기서 보니까
comment.html 파일에서
<em>{$comment->getNickName()}</em>
부분을
<span class="member_{$comment->get('member_srl')}" style="font-size:12px"><strong>{$comment->getNickName()}</strong>
로 수정하라고 해서 수정을 했는데 적용이 안됩니다 ㅠ
xe 기본 모바일 스킨을 사용중이고 아래는 comment.html 전체 코드 입니다.
<ul id="cl" class="rp tgo open">
{@ $_comment_list = $oDocument->getComments() }
{@ $start = true }
{@ $depth = 0 }
<!--@foreach($_comment_list as $key => $comment)-->
<!--@if(!$start && $comment->get('depth') == $depth)-->
</li>
<!--@end-->
<!--@if($comment->get('depth') > $depth)-->
<ul>
<!--@else-->
<!--@while($comment->get('depth') < $depth)-->
</li>
</ul>
{@ $depth -= 1 }
<!--@end-->
<!--@endif-->
<li>
{$comment->getContent(false)}
<span class="auth">
<span class="member_{$comment->get('member_srl')}" style="font-size:12px"><strong>{$comment->getNickName()}</strong>
<span class="time">{$comment->getRegdate("Y.m.d")}</span>
<!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
<a href="{getUrl('act','dispBoardDeleteComment','comment_srl',$comment->comment_srl)}" class="btn de">{$lang->cmd_delete}</a>
<!--@endif-->
<a href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}" class="btn re">{$lang->cmd_reply}</a>
{@ $start = false }
{@ $depth = $comment->get('depth') }
</span>
<!--@endforeach-->
<!--@while($depth > 0)-->
</li>
</ul>
{@ $depth -= 1}
<!--@end-->
</li>
</ul>
<!--@if($oDocument->comment_page_navigation)-->
<div id="clpn" class="pn">
<!--@if($oDocument->comment_page_navigation->cur_page != 1)-->
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page-1}); return false;">‹ {$lang->cmd_prev}</a>
<!--@endif-->
<strong id="curpage">{$oDocument->comment_page_navigation->cur_page} / {$oDocument->comment_page_navigation->last_page}</strong>
<!--@if($oDocument->comment_page_navigation->cur_page != $oDocument->comment_page_navigation->last_page)-->
<a href="#" onclick="loadPage({$oDocument->document_srl}, {$oDocument->comment_page_navigation->cur_page+1}); return false;">{$lang->cmd_next} ›</a>
<!--@endif-->
</div>
<!--@endif-->