스케치북 기준입니다.
<[email protected]($comment->get('parent_srl'))-->
<[email protected](!isset($commenter[$comment->get('parent_srl')]))-->
{@
$comment_args->comment_srl = $comment->get('parent_srl');
$output = executeQuery('comment.getComment', $comment_args);
$commenter[$comment->get('parent_srl')] = $output->data->nick_name;
}
<[email protected]>
<div style="word-break:break-all; word-wrap:break-word" class="c_text" cond="$comment->get('parent_srl')"><font class="comment<[email protected]($comment->comment_srl)-->_{$comment->comment_srl}<[email protected]><[email protected]($comment->member_srl)-->_{$comment->member_srl}<[email protected]> xe_content"><[email protected]($module_info->use_anonymous=='N')--><span style="color:#038464">[@{$commenter[$comment->get('parent_srl')]}]</span> <[email protected]> {$comment->getContent(false)}</font>
</div>
<[email protected]>
<div style="word-break:break-all; word-wrap:break-word" class="c_text" ><font class="comment<[email protected]($comment->comment_srl)-->_{$comment->comment_srl}<[email protected]><[email protected]($comment->member_srl)-->_{$comment->member_srl}<[email protected]> xe_content"><[email protected]($module_info->use_anonymous=='N')--><span style="color:#009caa">[@{$oDocument->getNickName()}]</span><[email protected]>{$comment->getContent(false)}</font>
</div>
---
{$comment->getContent(false)}
이 부분을 위처럼 감싸 주시면 됩니다.
글쓴이 skyo
?XE타운 관리자 입니다.
관리자 아닌것 같지만 제이쿼리 엔지가 없는게 매력인 관리자 입니다.
관리자 아닌것 같지만 제이쿼리 엔지가 없는게 매력인 관리자 입니다.
-
?
네. 맞습니다.
@nickname 부분에서 @ 제거하고 뒤에 님에게 부분 추가하시면 됩니다. -
?
ㅠㅠ 전 잘 안되네요 pjaxboard라서 그런지...
-
?
<[email protected]($module_info->use_anonymous=='N')-->
<[email protected]>
어떤 에러인지 모르겠지만, 이거를 각각 삭제해보세요. -
?
저는 깨지는군요
감사 합니다 뭔가 제가 잘못할수도 있고요 저는 아래 처럼 했습니다
<[email protected]($comment->get('parent_srl'))-->
<[email protected](!isset($commenter[$comment->get('parent_srl')]))-->
{@
$comment_args->comment_srl = $comment->get('parent_srl');
$output = executeQuery('comment.getComment', $comment_args);
$commenter[$comment->get('parent_srl')] = $output->data->nick_name;
}
<[email protected]>
그냥 저것으로 교체를 햇습니다
먼저 답변 주셔서 감사합니다. 위의 코드가 아래 이미지 처럼 댓글달때 ...님에게 라고 표기가 되는 코드가 맞는건가요?