묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
스케치북5 회원모듈 스킨 작성 글 보기에서 댓글이 표시되지 않습니다.
2013.05.30 20:28
<a href="{getUrl('','document_srl',$oDocument->document_srl)}" onclick="window.open(this.href);return false;">{$oDocument->getTitleText()}</a>
<!--@if($oDocument->getCommentCount())-->
[{$oDocument->getCommentCount()}]
<!--@end-->
<!--@if($oDocument->getTrackbackCount())-->
[{$oDocument->getTrackbackCount()}]
<!--@end-->
문제 되는 부분의 소스입니다..
작성글보기를 누를 시

이런 식으로 나오네요...
if문에 문제가 있어서 그런가 하여 [{$oDocument->getCommentCount()}] 만 이용해보았는데,
아예 공백이 뜹니다.
무엇이 문제이며 어떻게 고쳐야할까요..
$oDocument 변수는 본문 페이지가 아닌 곳에서는 $document 변수로 사용해야 합니다.......