묻고답하기
댓글 닉네임 색상은 어떻게 바꾸나요?
2013.06.25 16:42
스케치북5를 사용하고 있고 코어는 최신판입니다.
댓글 11
-
송동우
2013.06.25 16:48
-
김낙지
2013.06.25 17:04
board.css를 고쳐야 하는 거 아닌가요?
/* Reset */, /* Common */ 등 분류가 굉장히 많은데 어디가 코멘트 관련 부분인지를 아예 못찾겠어요 ㅠㅠ
-
송동우
2013.06.25 17:06
질문에 스케치북5 사용하고 있다고 했는데
게시판 스킨을 말하는 거 아닌가요?
그럼 당연히 게시판 스킨(스케치북5게시판스킨)에 파일이 있습니다....
-
김낙지
2013.06.25 18:34
<!--// 댓글 정보 --><div class="meta"><a cond="$comment->member_srl" href="#popup_menu_area" class="member_{$comment->member_srl}" onclick="return false"><!--@if($logged_info->is_admin=='Y')-->{@$args->member_srl = abs($document->get('member_srl'));$output = executeQuery('member.getMemberInfoByMemberSrl',$args);}{$output->data->nick_name}<!--@else-->{$comment->getNickName()}<!--@end--></a>여기를 건드리면 될 것 같은데 어떻게 건드려야 될 지를 모르겠네요 ㅠㅠㅠㅠ 도와주시면 안 될까요... -
송동우
2013.06.25 18:45
질문엔 스케치북5 사용한다고 하고
댓글의 코드는 스케치북5의 코드가 아닙니다......
어떤 게시판 스킨을 사용하는지 그것부터 확인해보세요......
혹시 게시판 스킨과 레이아웃을 구분못하는 것인지.....???
-
김낙지
2013.06.25 19:01
/html/xe/modules/board/skins/sketchbook5/
여기로 들어가서
_comment.html 열었습니다. 맞지 않나요?
-
송동우
2013.06.25 19:07
근데 코드는 완전 딴판이네요....
적용한 모습은 이렇습니다만 코드가 완전히 달라서 어디를 수정하라고 말을 할 수가 없네요.....
-
김낙지
2013.06.25 19:33
<!--// Comment v2 --><block cond="$mi->fdb_style=='fdb_v2' && $mi->default_style!='guest'"><a class="nametag ui_font bubble" href="#" onclick="jQuery(this).nextAll('ul,.bd_pg').slideToggle();returnfalse" title="Click! {$lang->comment} {$lang->cmd_view}~"></a><strong class="bg_color bx_shadow">Comment <b><aclass="number">'{$oDocument->getCommentcount()}'</b></strong></a></block><!--// Comment v1 --><block cond="$oDocument->getCommentcount()"><div cond="!$mi->fdb_style" class="fdb_tag<!--@if($mi->cmt_wrt_position=='cmt_wrt_btm')--> bg_f_f9css3pie<!--@end-->"><a class="ui_font bubble" href="#" onclick="jQuery(this).parent().nextAll('ul,.bd_pg').slideToggle();return false" title="{$lang->comment} {$lang->cmd_view}">Comments <b>'{$oDocument->getCommentcount()}'</b></a></div><ul class="fdb_lst_ul {$mi->fdb_hide}"><block loop="$oDocument->getComments()=>$key,$comment"><!--@if($comment->get('depth'))--><li id="comment_{$comment->comment_srl}" class="fdb_itm clear re bg{($comment->get('depth'))%2}"style="margin-left:{(($comment->get('depth')-1)%10+1)*2}%"><i class="ico_16px re"></i><i cond="$comment->get('depth')>10" class="ico_16px re rere"></i><!--@else--><li id="comment_{$comment->comment_srl}" class="fdb_itm clear"><!--@end--><!--// 프로필 --><block cond="!$mi->profile_img"><img cond="$comment->getProfileImage()" class="profile img" src="{$comment->getProfileImage()}" alt="profile" /><span cond="!$comment->getProfileImage()" class="profile img no_img">?</span></block><!--// 댓글 정보 --><div class="meta"><a cond="$comment->member_srl" href="#popup_menu_area" class="member_{$comment->member_srl}" onclick="return false"><!--@if($logged_info->is_admin=='Y')-->{@$args->member_srl = abs($document->get('member_srl'));$output = executeQuery('member.getMemberInfoByMemberSrl',$args);}{$output->data->nick_name}<!--@else--><!--@if($oDocument->get('member_srl')==$comment->get('member_srl'))-->{$lang->writer}<!--@else-->{$comment->getNickName()}<!--@end--><!--@end--></a><a cond="!$comment->member_srl && $comment->homepage" href="{$comment->homepage}"target="_blank">{$comment->getNickName()}</a><b cond="!$comment->member_srl && !$comment->homepage">{$comment->getNickName()}</b><span class="date">{getTimeGap($comment->get('regdate'), "Y.m.d H:i")}</span><small cond="$grant->manager || $mi->display_ip_address" class="m_no">({$comment->getIpaddress()})</small><span cond="$comment->isSecret()" class="ico_secret">SECRET</span><!--// 첨부파일 --><block cond="$comment->hasUploadedFiles()"><a class="tg_btn2" href="#files_{$comment->comment_srl}"><b class="ui-icon ui-icon-disk">Files</b>{$lang->uploaded_file} <small>({$comment->get('uploaded_count')})</small></a><div id="files_{$comment->comment_srl}" class="cmt_files tg_cnt2"><button type="button" class="tg_blur2"></button><button type="button"class="tg_close2" title="{$lang->cmd_close}"><b class="ui-icon ui-icon-closethick">X</b></button><ul class="wrp"><li loop="$comment->getUploadedFiles()=>$key,$file"><em>•</em> <aclass="bubble" href="{getUrl('')}{$file->download_url}" title="[File Size:{FileHandler::filesize($file->file_size)}/Download:{number_format($file->download_count)}]">{$file->source_filename}</a></li></ul><button type="button" class="tg_blur2"></button></div></block></div><!--// 댓글 본문 --><!--@if(!$comment->isAccessible())--><form action="./" method="get" onsubmit="return procFilter(this, input_password)"><input type="hidden" name="mid" value="{$mid}" /><input type="hidden" name="page" value="{$page}" /><input type="hidden" name="document_srl" value="{$comment->get('document_srl')}" /><input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" /><p>"{$lang->msg_is_secret}"</p><span class="itx_wrp"><label for="cpw_{$comment->comment_srl}">{$lang->password}</label><input type="password" id="cpw_{$comment->comment_srl}" name="password"class="itx" /><input type="submit" value="{$lang->cmd_input}" class="btn" /></span></form><!--@else-->{$comment->getContent(false)}<!--@end--><!--// 편집 등 --><div class="fdb_nav img_tx"><block cond="$mi->cmt_this_btn=='2' && $is_logged"><a href="#" onclick="doCallModuleAction('comment','procCommentDeclare','{$comment->comment_srl}');return false">☎ {$lang->cmd_declare}</a><a href="#" onclick="doCallModuleAction('comment','procCommentVoteUp','{$comment->comment_srl}');return false"><i class="fdb_nav_ico"><em>♥</em></i> {$lang->cmd_vote}</a><a cond="!$mi->cmt_vote_down" href="#" onclick="doCallModuleAction('comment','procCommentVoteDown','{$comment->comment_srl}');return false"><i class="fdb_nav_ico">♥</i>{$lang->cmd_vote_down}</a></block><a cond="(!$mi->cmt_this_btn && $is_logged) || $grant->manager" class="comment_{$comment->comment_srl} m_no" href="#popup_menu_area" onclick="return false"><spanclass="tx_ico_chk">✔</span>{$lang->cmd_comment_do}</a><block cond="$comment->isGranted() || !$comment->get('member_srl')"><a href="{getUrl('act','dispBoardModifyComment','comment_srl',$comment->comment_srl)}"><span class="ico_16px write"></span>{$lang->cmd_modify}</a><a href="{getUrl('act','dispBoardDeleteComment','comment_srl',$comment->comment_srl)}"><span class="ico_16px delete"></span>{$lang->cmd_delete}</a></block><a cond="$oDocument->allowComment()" class="re_comment" href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}" onclick="<!--@if(!$grant->write_comment|| !$oDocument->isEnableComment())-->alert('{$lang->msg_not_permitted}')<!--@else-->reComment({$comment->get('document_srl')},{$comment->get('comment_srl')},'{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}');<!--@end-->return false"><span class="ico_16px reply"></span>{$lang->cmd_reply}</a><!--// 추천-비추천 --><span cond="$mi->cmt_vote!='N' && ($mi->cmt_vote=='2' || $comment->get('voted_count')!=0 || $comment->get('blamed_count')!=0)" class="vote ui_font"><a class="bd_login" href="#" onclick="doCallModuleAction('comment','procCommentVoteUp','{$comment->comment_srl}');return false"|cond="$is_logged" title="{$lang->cmd_vote}"><em><b>♥</b> {$comment->get('voted_count')?$comment->get('voted_count'):0}</em></a><a cond="!$mi->cmt_vote_down" class="bd_login" href="#"onclick="doCallModuleAction('comment','procCommentVoteDown','{$comment->comment_srl}');return false"|cond="$is_logged" title="{$lang->cmd_vote_down}"><b>♥</b> {abs($comment->get('blamed_count')?$comment->get('blamed_count'):0)}</a></span></div></li></block></ul><!--// 댓글 페이지 네비게이션 --><!--@if($oDocument->comment_page_navigation)-->{@$cpageStr = sprintf('%d_cpage', $oDocument->get('document_srl'));$cpage = Context::get($cpageStr);}<div class="bd_pg clear {$mi->fdb_hide}"><a href="{getUrl($cpageStr,1)}#{$oDocument->get('document_srl')}_comment" class="direction"title="{$lang->first_page}">« <span>First</span></a><!--@while($page_no = $oDocument->comment_page_navigation->getNextPage())--><!--@if($cpage == $page_no)--><strong class="this">{$page_no}</strong><!--@else--><a href="{getUrl($cpageStr,$page_no)}#{$oDocument->get('document_srl')}_comment">{$page_no}</a><!--@end--><!--@end--><a href="{getUrl($cpageStr,$oDocument->comment_page_navigation->last_page)}#{$oDocument->get('document_srl')}_comment" class="direction" title="{$lang->last_page}"><span>Last</span> »</a></div><script cond="!$mi->fdb_style" type="text/javascript">jQuery(function($){var t = $('#{$oDocument->document_srl}_comment .bd_pg');t.clone().removeClass('bd_pg').addClass('cmt_pg').appendTo(t.prev().prev());});</script><!--@end--></block> -
김낙지
2013.06.25 19:34
저게 제 _comment.html 전문 복사한 거구요
색깔 어떻게 바꾸셨어요 으앙 ㅠㅠㅠㅠㅠㅠㅠ 부러워요 ㅠㅠㅠㅠㅠㅠ
-
송동우
2013.06.25 19:39
일단 제 코드와 달라서 정확히 말하기는 힘들지만
지금 올린 코드가 사용하는 것이 맞다고 전제하고
{$comment->getNickName()}
이 부분의 앞에 있는 태그에
style="color:red"
이것을 추가해보세요......
여러군데 있으면 하나씩 적용해서 웹페이지 refresh 해보면 확인될 겁니다.......
-
김낙지
2013.06.25 19:45
혹시 코드 좀 보여주실 수 있으세요? 저 부분만요!
_comment.html 파일입니다
style 추가해보세요....