묻고답하기
카테고리
2008.03.14 17:59
비나무님께서
이부분을 찾으라 하셨는대 도통 모르겠습니다 ..
XE 공식 게시판 리스트형의 예를들면,
style.list.html 파일을 에디터에서 여셔서
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat(" ",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
<!--@end-->
진하게 표시된 부분을 삭제하시면 될 듯 합니다
제가 질문했던 내용은 카테고리옆의 글 달린 숫자를 지울수 있는 방법에 대에서 였습니다
제가쓰는건 통합형 게시판이구요 본 내용의 style.list.html 내용입니다
<!-- 목록 출력 -->
{@ $_col_count = 1; }
<form action="./" method="get">
<table cellspacing="0" summary="" class="boardList">
<!--@if($module_info->display_number!='N')--><col width="80" />{@ $_col_count++}<!--@end-->
<!--@if($grant->is_admin)--><col width="30" />{@ $_col_count++}<!--@end-->
<col />
<!--@if($module_info->display_author!='N')--><col width="120" />{@ $_col_count++}<!--@end-->
<!-- 확장 변수 출력 -->
<!--@for($i=1;$i<=5;$i++)-->
{@ $_evk = "display_extra_value".$i}
<!--@if($module_info->{ $_evk} !='N' && $module_info->{ $_evk})-->
<col width="70" />{@ $_col_count++}
<!--@end-->
<!--@end-->
<!--@if($module_info->display_readed_count!='N')--><col width="70" />{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_voted_count!='N')--><col width="70" />{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_regdate != 'N')--><col width="90" />{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_last_update == 'Y')--><col width="90" />{@ $_col_count++}<!--@end-->
<!--@if($_col_count>1)-->
<thead>
{@ $no_line_class = " no_line" }
<tr>
<!--@if($module_info->display_number!='N')--><th scope="col" class="num{$no_line_class}">{$lang->no}</th>{@ $no_line_class=""}<!--@end-->
<!--@if($grant->is_admin)--><th scope="col" class="checkbox{$no_line_class}"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
<th scope="col" class="<!--@if($module_info->use_category == 'Y')-->category<!--@else-->title<!--@end-->{$no_line_class}">{$lang->title}</th>
<!--@if($module_info->display_author!='N')--><th class="author" scope="col">{$lang->writer}</th><!--@end-->
<!-- 확장 변수 출력 -->
<!--@for($i=1;$i<=5;$i++)-->
{@ $_evk = "display_extra_value".$i}
<!--@if($module_info->{ $_evk} !='N' && $_evkno = $module_info->{ $_evk})-->
<th class="extra" scope="col">{$module_info->extra_vars[$_evkno]->name}</th>
<!--@end-->
<!--@end-->
<!--@if($module_info->display_readed_count!='N')--><th class="reading" scope="col"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><th class="recommend" scope="col"><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
<!--@if($module_info->display_regdate != 'N')--><th scope="col" class="date"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><th scope="col" class="date"><a href="{getUrl('+
'sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></th><!--@end-->
</tr>
</thead>
<!--@end-->
<tbody>
<!--@if(!$document_list && !$notice_list)-->
<!-- 게시물이 없으면 등록된 글이 없음을 표시 -->
<tr class="bg0 tCenter">
<td colspan="{$_col_count}" class="title">
{$lang->no_documents}
</td>
</tr>
<!--@else-->
<!-- 공지사항 출력 -->
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$lang->notice}<!--@end--></td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/common/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/common/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@if($module_info->display_author!='N')--><td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td><!--@end-->
<!-- 확장 변수 출력 -->
<!--@for($i=1;$i<=5;$i++)-->
{@ $_evk = "display_extra_value".$i}
<!--@if($module_info->{ $_evk} !='N' && $_evkno = $module_info->{ $_evk})-->
{@ $val = $module_info->extra_vars[$_evkno]}
<td class="extra"><!--#include("./extra_var_value_list.html")--></td>
<!--@end-->
<!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
</tr>
<!--@end-->
<!-- 일반 글 출력 -->
<!--@if($module_info->order_target=='random')-->{@ shuffle($document_list)}<!--@end-->
<!--@foreach($document_list as $no => $document)-->
<!-- 조회수 별 제목 색상 지정 -->
<!--@if($document->get('readed_count') > 500)-->{@ $color_read = "color_read_5"}
<!--@elseif($document->get('readed_count') > 400)-->{@ $color_read = "color_read_4"}
<!--@elseif($document->get('readed_count') > 300)-->{@ $color_read = "color_read_3"}
<!--@elseif($document->get('readed_count') > 200)-->{@ $color_read = "color_read_2"}
<!--@elseif($document->get('readed_count') > 10)-->{@ $color_read = "color_read_1"}
<!--@elseif($document->get('readed_count') > 0)-->{@ $color_read = "color_read_0"}
<!--@end-->
<tr class="bg{($no+1)%2+1}">
<!--@if($module_info->display_number!='N')--><td class="num"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$no}<!--@end--></td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl'+
',$document->document_srl, 'listStyle', $listStyle, 'cpage',''+
')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/common/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/common/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@if($module_info->display_author!='N')--><td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td><!--@end-->
<!-- 확장 변수 출력 -->
<!--@for($i=1;$i<=5;$i++)-->
{@ $_evk = "display_extra_value".$i}
<!--@if($module_info->{ $_evk} !='N' && $_evkno = $module_info->{ $_evk})-->
{@ $val = $module_info->extra_vars[$_evkno]}
<td class="extra"><!--#include("./extra_var_value_list.html")--></td>
<!--@end-->
<!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading {$color_read}">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
</tr>
<!--@end-->
<!--@end-->
</tbody>
</table>
</form>
저 진한 부분은 아마 카테고리에 몇개의 글(?)이 있다고 보여주는 숫자인데....
요~ 게시판에서 스크롤 조금 내려보면 분류라고 셀렉트박스 있는데 그거 말하는거에요?
제가 XE 기본 스킨을 사용안해서 설명만 듣고는 잘 모릅니다..... 기본스킨도 가끔 써줘야하나? ㅎㅎㅎ
아직 해결 못하셨다면 정확한 위치 스샷 첨부해주시고 쪽지한번 날려주세요^^