묻고답하기
게시판 댓글에 답변완료 설정방법
2014.12.24 10:42
스케치5 게시판을 온라인 상담으로 설정했는데
상담글에 답변 완료를 설정하고 싶은데요
여기에서 막히네요
이미지 말고 상담 완료후 답변완료 넣는법을 알고 싶네요
고수님들의 가르침을 기다립니다
댓글 10
-
몽실아빠
2014.12.24 10:46
-
banaba
2014.12.24 13:41
헉 이런 간단한 방법이
감사합니다. 근대 분류를 여러가지로
설정해서 써야 하는대 상담외에 상담종류를
넣으면 복잡해지네요 ㅎㅎ
스케치5 자동으로 설정하는 방법도 일러 주실 수
있으신지요...감사합니다.^^
-
DoorWeb
2014.12.24 13:51
몽실아빠님 같은 방법도 있고요. 혹 관리자만 답변을 다는 형태라면
게시판은 list.html쪽 보시면
<a cond="$document->getCommentCount()" href="{getUrl('document_srl', $document->document_srl)}#comment" class="replyNum" title="Replies">[{$document->getCommentCount()}]</a> 이 부분이 있습니다.
댓글수를 말해주는 부분인데요. 댓글을 관리자만 달 수 있으니까 댓글수가 있다는건 답변이 달렸다는 것 그래서 [{$document->getCommentCount()}] 부분을 상담완료라는 이미지나 텍스트를 넣으시면 됩니다.
-
banaba
2014.12.24 14:36
스케치5 게시판의 list.html 을 말씀하시는 거죠?
"[{$document->getCommentCount()}] 부분을 상담완료라는 이미지나 텍스트"
윗 글의 [ ]의{$document->getCommentCount()}을 삭제하고[답변완료& chaejh888.co.kr/img]
이미지나 텍스트를 넣으 라는 말씀인지요? 워낙 초보라 ... 이해해 주십시요
-
DoorWeb
2014.12.24 14:41
스케치북 기준이면 _list_normal.html에서 104라인
<a cond="$document->getCommentCount()" href="{getUrl('document_srl', $document->document_srl)}#{$document->document_srl}_comment" class="replyNum" title="{$lang->comment}">{$document->getCommentCount()}</a>
이 부분을
<span cond="$document->getCommentCount()">상담완료</span>
이렇게 하면 될겁니다.
-
banaba
2014.12.25 11:56
스케치5 _list_normal.html에서 104라인 이부근에서 찾는데찾기가 힘드네요 ㅎㅎ 무지막지하게 복사해서 올려봅니다.ㅋ<!--@if($order_type=="desc")-->{@$order_icon="down";$order_type="asc";}<!--@else-->{@$order_icon="up";$order_type="desc";}<!--@end--><p cond="!$document_list && !$notice_list" class="no_doc">{$lang->no_documents}</p><table cond="$document_list || $notice_list" class="bd_lst bd_tb_lst bd_tb"><caption class="blind">List of Articles</caption><thead class="bg_f_f9"><!--// 테이블 헤더 --><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)}">{$lang->voted_count}<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></thead><tbody><!--// Notice --><tr class="notice" loop="$notice_list=>$no,$document"><block loop="$list_config=>$key,$val"><td cond="$val->type=='no' && $val->idx==-1" class="no"><block cond="$document_srl==$document->document_srl">»</block><strong cond="$document_srl!=$document->document_srl">{$lang->notice}</strong></td><block cond="$val->type=='title' && $val->idx==-1"><td cond="!$mi->show_cate && $mi->use_category=='Y'" class="cate" style="color:{$category_list[$document->get('category_srl')]->color}"|cond="$category_list[$document->get('category_srl')]->color!='transparent'"><strong>{$category_list[$document->get('category_srl')]->title}</strong></td><td class="title"><a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}"><strong>{$document->getTitle($mi->subject_cut_size)}</strong></a><block cond="!$mi->link_board"><a cond="$document->getCommentCount()" href="{getUrl('document_srl', $document->document_srl)}#{$document->document_srl}_comment" class="replyNum" title="{$lang->comment}">{$document->getCommentCount()}</a><a cond="$document->getTrackbackCount()" href="{getUrl('document_srl', $document->document_srl)}#{$document->document_srl}_trackback" class="trackbackNum" title="{$lang->trackback}">{$document->getTrackbackCount()}</a></block><span class="extraimages">{$document->printExtraImages(60*60*$mi->duration_new)}</span></td></block><td class="author" cond="$val->type=='nick_name' && $val->idx==-1"><span><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></span></td><td class="author" cond="$val->type=='user_id' && $val->idx==-1"><span>{$document->getUserID()}</span></td><td class="author" cond="$val->type=='user_name' && $val->idx==-1"><span>{$document->getUserName()}</span></td><td class="time" cond="$val->type=='regdate' && $val->idx==-1">{$document->getRegdate('Y.m.d')}</td><td class="time m_no" cond="$val->type=='last_update' && $val->idx==-1">{zdate($document->get('last_update'),'Y.m.d')}</td><td class="time last_post m_no" cond="$val->type=='last_post' && $val->idx==-1"><block cond="(int)($document->get('comment_count'))>0"><a href="{getUrl('document_srl',$document->document_srl)}#{$document->document_srl}_comment" title="{getTimeGap($document->get('last_update'), "H:i")}">{zdate($document->get('last_update'),'Y.m.d')}<small cond="$document->getLastUpdater()">(by {$document->getLastUpdater()})</small></a></block><block cond="(int)($document->get('comment_count'))==0"> </block></td><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">{$document->get('voted_count')!=0?$document->get('voted_count'):'0'}</td><td cond="$val->idx!=-1" class="m_no"|cond="$val->eid!='link_url'"><!--@if($val->eid=='rating')--><span class="starRating" title="{$document->getExtraValueHTML($val->idx)}{$lang->score}"><span style="width:{$document->getExtraValueHTML($val->idx)*10}%">{$document->getExtraValueHTML($val->idx)}</span></span><!--@else-->{$document->getExtraValueHTML($val->idx)}<!--@end--></td></block><td cond="$grant->manager" class="check m_no"><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><!--// Normal --><tr loop="$document_list=>$no,$document" class="select"|cond="$document_srl==$document->document_srl"><block loop="$list_config=>$key,$val"><td class="no" cond="$val->type=='no' && $val->idx==-1"><block cond="$document_srl==$document->document_srl">»</block><block cond="$document_srl!=$document->document_srl">{$no}</block></td><block cond="$val->type=='title' && $val->idx==-1"><td cond="!$mi->show_cate && $mi->use_category=='Y'" class="cate"><span style="color:{$category_list[$document->get('category_srl')]->color}"|cond="$category_list[$document->get('category_srl')]->color!='transparent'">{$category_list[$document->get('category_srl')]->title}</span></td><td class="title"><!--// 제목 --><!--@if(!$mi->preview || (@!in_array('tx',$mi->preview) && !$document->thumbnailExists()))--><a <!--@if(!$mi->link_board)-->href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle,'cpage','')}"<!--@else-->href="{$document->getExtraEidValue('link_url')}" target="_blank"<!--@end--> class="hx" data-viewer="{getUrl('document_srl',$document->document_srl,'listStyle','viewer','page','')}">{$document->getTitle($mi->subject_cut_size)}</a><!--@else--><a <!--@if(!$mi->link_board)-->href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle,'cpage','')}"<!--@else-->href="{$document->getExtraEidValue('link_url')}" target="_blank"<!--@end--> class="hx bubble no_bubble<!--@if(@!in_array('tx',$mi->preview))--> only_img<!--@end-->" data-viewer="{getUrl('document_srl',$document->document_srl,'listStyle','viewer','page','')}">{$document->getTitle($mi->subject_cut_size)}<span cond="!$document->isSecret()" class="wrp"><img cond="$document->thumbnailExists() && @in_array('img',$mi->preview)" src="{$document->getThumbnail($mi->thumbnail_width,$mi->thumbnail_height,$mi->thumbnail_type)}" alt="" /><span class="speech">{htmlspecialchars($document->getSummary($mi->preview_tx))}</span><i class="edge"></i><!--// ie8; --><i class="ie8_only bl"></i><i class="ie8_only br"></i></span></a><!--@end--><block cond="!$mi->link_board"><a cond="$document->getCommentCount()" href="{getUrl('document_srl', $document->document_srl)}#{$document->document_srl}_comment" class="replyNum" title="{$lang->comment}">{$document->getCommentCount()}</a><a cond="$document->getTrackbackCount()" href="{getUrl('document_srl', $document->document_srl)}#{$document->document_srl}_trackback" class="trackbackNum" title="{$lang->trackback}">{$document->getTrackbackCount()}</a></block><span class="extraimages">{$document->printExtraImages(60*60*$mi->duration_new)}<i cond="$document->thumbnailExists()" class="attached_image" title="Image"></i></span><a cond="$mi->link_board && $document->isEditable()" class="link_modify" href="{getUrl('document_srl',$document->document_srl)}">{$lang->cmd_modify}</a></td></block><td class="author" cond="$val->type=='nick_name' && $val->idx==-1"><span><a href="#popup_menu_area" class="member_{$document->get('member_srl')}" onclick="return false">{$document->getNickName()}</a></span></td><td class="author" cond="$val->type=='user_id' && $val->idx==-1"><span>{$document->getUserID()}</span></td><td class="author" cond="$val->type=='user_name' && $val->idx==-1"><span>{$document->getUserName()}</span></td><td class="time" cond="$val->type=='regdate' && $val->idx==-1" title="{getTimeGap($document->get('regdate'), "H:i")}">{$document->getRegdate('Y.m.d')}</td><td class="time last_update m_no" cond="$val->type=='last_update' && $val->idx==-1">{zdate($document->get('last_update'),'Y.m.d')}</td><td class="time last_post m_no" cond="$val->type=='last_post' && $val->idx==-1"><block cond="(int)($document->get('comment_count'))>0"><a href="{getUrl('document_srl',$document->document_srl)}#{$document->document_srl}_comment" title="{getTimeGap($document->get('last_update'), "H:i")}">{zdate($document->get('last_update'),'Y.m.d')}<small cond="$document->getLastUpdater()">(by {$document->getLastUpdater()})</small></a></block><block cond="(int)($document->get('comment_count'))==0"> </block></td><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">{$document->get('voted_count')!=0?$document->get('voted_count'):'0'}</td><td cond="$val->idx!=-1" class="<!--@if($val->eid=='link_url')-->link_url<!--@else-->m_no<!--@end-->"><!--@if($val->eid=='rating')--><span class="starRating" title="{$document->getExtraValueHTML($val->idx)}{$lang->score}"><span style="width:{$document->getExtraValueHTML($val->idx)*10}%">{$document->getExtraValueHTML($val->idx)}</span></span><!--@else-->{$document->getExtraValueHTML($val->idx)}<!--@end--></td></block><td cond="$grant->manager" class="check m_no"><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></tbody></table> -
DoorWeb
2014.12.25 12:56
에디터에 단어검색이 있으니까 $document->getCommentCount() 이 부분을 검색해서 찾아 보세요.
-
banaba
2014.12.31 14:41
해피뉴 이어 되십시요^^
모발일에서는 동일한 기능이 안되네요 ㅎ
파일은 같은거 같은데 저장 위치만 다르고
원래 모바일에는 적용이 안되는 건가요???
-
banaba
2014.12.25 12:59
죄송하고 감사요 ^^
눈알 빠지게 찾았더니 있네요 ㅎㅎ
찾아서 텍스트로 넣었더니 나오네요 감사함다.^^
-
mindpainter
2014.12.24 14:17
사용자정의(확장변수) 단일선택타입으로 하셔도 됩니다.
수동으로 하시는 방법으로는
게시판설정에 가셔서 분류관리 로 분류(카테고리)를 만드세요.
상담접수,상담완료
이런식으로 만들어 놓으시고 상담완료된 글은 관리자가 수정을 하여 글 수정창의 상단의 분류항목을 상담완료로 바꾸시면 글 목록에서 상담완료가 노출됩니다.