26.09.29
0
조회 206
26.09.26
1
조회 161
26.09.24
0
조회 193
26.09.23
0
조회 197
26.09.19
0
조회 516
26.09.11
0
조회 153
26.09.10
0
조회 152
26.09.10
0
조회 151
26.09.10
0
조회 119
26.09.10
0
조회 103
26.09.09
1
조회 106
26.09.04
0
조회 506
26.09.03
0
조회 342
26.09.01
1
조회 140
26.08.29
0
조회 183
26.08.22
0
조회 297
26.08.20
0
조회 327
26.08.13
0
조회 319
26.08.13
0
조회 370
26.08.13
0
조회 213
댓글 5
대댓글이 있는 경우 수정불가하는 팁을 보시면..
https://xetown.com/lakepark/99286
코드가 있는 듯 합니다.
{@
$oCommentModel = getModel('comment');
$commentCount = $oCommentModel->getChildCommentCount($obj->comment_srl);
}
<!--@if($commentCount>=1)-->
이렇게 해주면 되지 않을까요??
$obj->comment_srl
이부분이 살짝 이상해 보이네요.
$oCommentModel = getModel('comment');
$commentCount = $oCommentModel->getChildCommentCount($comment->comment_srl);
}
이렇게 하면 되네요.