{@
$oComment = &getModel('comment');
$comment_parent = $oComment->getComment($comment->parent_srl);
}
{$comment_parent->getNickName()}
대댓글 작성시 위의 내용으로 @닉네임을 사용하는데요
이미지닉네임으로 사용할수 있는 방법이 있을까요?
PHP | PHP 7.4 |
---|---|
CMS | Rhymix 2.0 |
{@
$oComment = &getModel('comment');
$comment_parent = $oComment->getComment($comment->parent_srl);
}
{$comment_parent->getNickName()}
대댓글 작성시 위의 내용으로 @닉네임을 사용하는데요
이미지닉네임으로 사용할수 있는 방법이 있을까요?
더 간단한 방법도 있을지 모르겠는데, 일단 이렇게요?
{@
$oComment = getModel('comment');
$comment_parent = $oComment->getComment($comment->parent_srl);
$memberModel = getModel('member');
}
{$memberModel->getImageName($comment_parent->getMemberSrl())}
덧. 실제로 해본 건 아니고 구조상 그런 것 같아요ㅎ
https://xetown.com/thirdparties/694847
에 해당 기능이 있습니다