묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
[스케치북] 추천수 강조
2014.05.04 21:14
스케치북5 사용하고 있습니다.
추천수를 색깔을 입혀 강조하고 싶습니다.
어디를 수정해야 하나요.
댓글 3
-
유묭커뮤늬2
2014.05.04 22:08
-
더뿌
2014.05.04 22:18
스케치북 skin에서 _list_normal.html 부분 수정 추천수 글자는 아래 부분을 수정 하고,<!--// 테이블 헤더 --> <tr> <block loop="$list_config=>$key,$val"> <th scope="col" cond="$val->type=='no' && $val->idx==-1" class="no"><span><a href="{getUrl('order_type',$order_type)}" title="<!--@if($order_type=="desc")-->{$lang->order_desc}<!--@else-->{$lang->order_asc}<!--@end-->">{$lang->no}</a></span></th> <block cond="$val->type=='title' && $val->idx==-1"> <th scope="col" cond="!$mi->show_cate && $mi->use_category=='Y'" class="m_no"><span>{$lang->category}</span></th> <th scope="col" class="title"><span><a href="{getUrl('sort_index','title','order_type',$order_type)}"><!--@if(!$mi->link_board)-->{$lang->title}<!--@else-->{$lang->link_site}<!--@end--><i cond="$sort_index=='title'" class="arrow {$order_icon}"></i></a></span></th> </block> <th scope="col" cond="$val->type=='nick_name' && $val->idx==-1"><span>{$lang->writer}</span></th> <th scope="col" cond="$val->type=='user_id' && $val->idx==-1"><span>{$lang->user_id}</span></th> <th scope="col" cond="$val->type=='user_name' && $val->idx==-1"><span>{$lang->user_name}</span></th> <th scope="col" cond="$val->type=='regdate' && $val->idx==-1"><span><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<i cond="$sort_index=='regdate'" class="arrow {$order_icon}"></i></a></span></th> <th scope="col" cond="$val->type=='last_update' && $val->idx==-1" class="m_no"><span><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<i cond="$sort_index=='last_update'" class="arrow {$order_icon}"></i></a></span></th> <th scope="col" cond="$val->type=='last_post' && $val->idx==-1" class="m_no"><span>{$lang->last_post}</span></th> <th scope="col" cond="$val->type=='readed_count' && $val->idx==-1" class="m_no"><span><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<i cond="$sort_index=='readed_count'" class="arrow {$order_icon}"></i></a></span></th> <th scope="col" cond="$val->type=='voted_count' && $val->idx==-1" class="m_no"><span><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}"><font color=red>{$lang->voted_count}</font><i cond="$sort_index=='voted_count'" class="arrow {$order_icon}"></i></a></span></th> <th scope="col" cond="$val->idx!=-1" class="m_no"|cond="$val->eid!='link_url'"><span><a href="{getUrl('sort_index',$val->eid,'order_type',$order_type)}">{$val->name}</a></span></th> </block> <th scope="col" cond="$grant->manager" class="m_no"><span><input type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true });" class="iCheck" title="Check All" /></span></th> </tr>
추천수 표시되는 부분 수정은 아래 부분 수정필요..
<td cond="$val->type=='readed_count' && $val->idx==-1" class="m_no">{$document->get('readed_count')>0?$document->get('readed_count'):'0'}</td> <td cond="$val->type=='voted_count' && $val->idx==-1" class="m_no"><font color=red>{$document->get('voted_count')!=0?$document->get('voted_count'):'0'}</font></td>
117 열 근처 부분이네요..
-
유묭커뮤늬2
2014.05.04 22:27
감사합니다 ^%^
도와주세요 ^^