묻고답하기
메인 페이지의 최근게시물 댓글표시 바꾸는 방법좀여...ㅠㅠ
2014.02.12 21:40
제가 레이아웃스킨은 그레이포탈을 사용하고 있습니다...
질문은 아래 이미지로...^^
<!-- NOTICE -->
<tr class="notice" loop="$notice_list=>$no,$document">
<block loop="$list_config=>$key,$val">
<td class="notice" cond="$val->type=='no' && $val->idx==-1">
<block cond="$document_srl==$document->document_srl">»</block>
<block cond="$document_srl!=$document->document_srl">{$lang->notice}</block>
</td>
<td class="title" cond="$val->type=='title' && $val->idx==-1">
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">
{$document->getTitle()}
</a>
<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>
</td>
<td class="author" cond="$val->type=='nick_name' && $val->idx==-1"><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></td>
<td class="author" cond="$val->type=='user_id' && $val->idx==-1">{$document->getUserID()}</td>
<td class="author" cond="$val->type=='user_name' && $val->idx==-1">{$document->getUserName()}</td>
<td class="time" cond="$val->type=='regdate' && $val->idx==-1">{$document->getRegdate('Y.m.d')}</td>
<td class="time" cond="$val->type=='last_update' && $val->idx==-1">{zdate($document->get('last_update'),'Y.m.d')}</td>
<td class="lastReply" cond="$val->type=='last_post' && $val->idx==-1">
<block cond="(int)($document->get('comment_count'))>0">
<a href="{$document->getPermanentUrl()}#comment" title="Last Reply">
{zdate($document->get('last_update'),'Y.m.d')}
</a>
<span cond="$document->getLastUpdater()">
<sub>by</sub>
{$document->getLastUpdater()}
</span>
</block>
<block cond="(int)($document->get('comment_count'))==0"> </block>
</td>
<td class="readNum" cond="$val->type=='readed_count' && $val->idx==-1">{$document->get('readed_count')>0?$document->get('readed_count'):'0'}</td>
<td class="voteNum" cond="$val->type=='voted_count' && $val->idx==-1">{$document->get('voted_count')!=0?$document->get('voted_count'):'0'}</td>
<td class="voteNum" cond="$val->type=='blamed_count' && $val->idx==-1">{$document->get('blamed_count')!=0?$document->get('blamed_count'):'0'}</td>
<td cond="$val->idx!=-1">{$document->getExtraValueHTML($val->idx)} </td>
</block>
<td 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()" /></td>
</tr>
<!-- /NOTICE -->
이 부분어디에서 바꾸는거 같은데...잘모르겠습니다...ㅠㅠ
저 소스는 /www/xe/modules/board/skins/default 요기서 열었구여...