묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
최신탭 설정에서 댓글숫자도 나오게 출력하고 싶은데요
2013.10.07 10:57
<!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
<!--%import("js/tab.js")-->
<!--@if($colorset=="default"||!$colorset)-->
<!--%import("css/default.css")-->
<!--@end-->
{@ $_id_prefix = rand(1111111,9999999)}
{@ $_checked = false; }
<div class="tabWidget">
<div class="tabBox">
<!--@foreach($tab_list as $key => $val)-->
<div class="tab <!--@if(!$_checked)-->on{@ $_checked = true;}<!--@end-->" id="tab_{$_id_prefix}_{$key}" onmouseover="overTab(this);"><a href="{getUrl('','mid',$val->mid)}" title="{htmlspecialchars($val->browser_title)}">{htmlspecialchars($val->browser_title)}</a></div>
<!--@end-->
<div class="clear"></div>
</div>
{@ $_checked = false; }
<!--@foreach($tab_list as $key => $val)-->
<div class="tabContent <!--@if(!$_checked)-->show{@ $_checked = true;}<!--@else-->hide<!--@end-->" id="content_{$_id_prefix}_{$key}">
{@ $_thumbnail_checked = false; }
<ul class="titleBox">
<!--@foreach($val->document_list as $k => $v)-->
<li>
<!--@if($widget_info->display_regdate == 'Y')-->
<span class="regdate">[{$v->getRegdate("m-d")}]</span>
<!--@end-->
<a href="{$v->getPermanentUrl()}#{$v->getCommentCount()}">{$v->getTitle($widget_info->subject_cut_size)}</a>
<!--@if($widget_info->display_author == 'Y')-->
<span class="author">by {$v->getNickName()}</span>
<!--@end-->
<!--@if($widget_info->display_readed_count == 'Y' || $widget_info->display_voted_count == 'Y' )-->
<span class="readAndVoted">
(<!--@if($widget_info->display_readed_count == 'Y')--><span class="readed">{$v->get('readed_count')}</span><!--@end--><!--@if($widget_info->display_voted_count == 'Y' && $v->get('voted_count')>0 )--><!--@if($widget_info->display_readed_count == 'Y')-->/ <!--@end--><span class="voted">{$v->get('voted_count')}</span><!--@end-->)
</span>
<!--@end-->
</li>
<!--@end-->
</ul>
<div class="clear"></div>
</div>
<div class="clear"></div>
<!--@end-->
</div>
제가 사용하는 탭입니다.
댓글 보이기 소스가 없고 작성자,조회수,날짜만 있는데 댓글을 노출시키고 싶습니다.
어떤소스를 추가해야 할까요?ㅠㅠ
답변은 꼭 채택시키겠습니다.
{$v->getCommentCount()} 가 댓글 수 출력일텐데요..