묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
카테고리가 중복 출력됩니다
2015.04.26 08:51
<div class="innerbox col-lg-12 col-md-12 col-sm-12 col-xs-12"> <block loop="$list_config=>$key,$val"> <div class="title" cond="$val->type=='title' && $val->idx==-1"> <h4><a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a></h4> <a cond="$document->getCommentCount()" href="{getUrl('document_srl', $document->document_srl)}#comment" class="replyNum" title="Replies">[{$document->getCommentCount()}]</a> <a cond="$document->getTrackbackCount()" href="{getUrl('document_srl', $document->document_srl)}#trackback" class="trackbackNum" title="Trackbacks">[{$document->getTrackbackCount()}]</a> </div> <div>Category: <a href="{getUrl('category',$document->get('category_srl'))}">{$category_list[$document->get('category_srl')]->title}</a></div> <div class="time" cond="$val->type=='regdate' && $val->idx==-1">{$document->getRegdate('d M Y')}</div> <div cond="$val->idx!=-1">{$document->getExtraValueHTML($val->idx)} </div> </block> <div cond="$grant->manager" class="check"><input type="checkbox" name="cart" value="{$document->document_srl}" class="iCheck" title="Check This Article" onclick="doAddDocumentCart(this)" checked="checked"|cond="$document->isCarted()" /></div> </div>
안녕하세요?
게시판 목록에서 위에 그림처럼 만들고 코드를 넣었는데 카테고리가 4번이나 표시됩니다..
어떻게 고쳐야하는지 모르겠네요 ㅠㅠ
아시는분 답변 주시면 감사하겠습니다^^