RadarURL

조회 수 9937 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

가 크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

가 크게 작게 위로 아래로 댓글로 가기 인쇄

목록에서 업데이트된 글에 이미 기본적으로 new, update 아이콘들이 나타나는데요, 여기다가 댓글수까지 bold로 표시하고 싶었습니다. 


 보드 스킨 style.list.html에서 댓글부분을 찾아 아래와 같이 코드를 넣습니다. 


                            <a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
                           
                            <!--@if($document->getCommentCount())-->
                            {@ $time_check = date("YmdHis", time()-(180*60*$module_info->duration_new));}
                <!--@if($document->get('last_update')>$time_check)-->
                                <span class="replyAndTrackback" title="Replies"><img src="/images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
                                    <!--@else-->
                                    <span class="replyAndTrackback" title="Replies"><font color=9999> {$document->getCommentCount()}</font></span>
               <!--@end-->
                            <!--@end-->



 보드 스킨 style.gallery.html에서 댓글부분을 찾아 아래와 같이 코드를 넣습니다. 


                        <!--@if($document->getCommentCount())-->
                            {@ $time_check = date("YmdHis", time()-(180*60*$module_info->duration_new));}
                <!--@if($document->get('last_update')>$time_check)-->
                            <span class="replyAndTrackback" title="Replies"><font color=#FF6542>(<strong>{$document->getCommentCount()}</strong>)</font></span>
                                <!--@else-->
                                <span class="replyAndTrackback" title="Replies">({$document->getCommentCount()})</span>
                           <!--@end-->
                        <!--@end-->



스킨을 변경하는 것이기에 코어 업데이트 해도 문제 없습니다.


감사합니다. 

출처 : http://www.xpressengine.com/?_filter=search&mid=tip&search_keyword=%EB%8C%93%EA%B8%80&search_target=title&page=1&division=-18865340&document_srl=18776079

출처에서 약간 바뀐것이 있어서 수정하였습니다.

?

공부 게시판

공부에 도움되는 글을 올려주세요.

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 [공지] 공부 게시판 입니다. 처누 2003.08.18 1758305
346 응용 프로그래밍 WIndows Application의 실행 속도 측정 file YooN 2023.09.06 6286
345 웹 프로그래밍 메모리 부족 현상 (allowed memory size of 134217728 bytes..) YooN 2023.08.01 5757
344 웹 프로그래밍 Guzzle - cURL error 60: SSL certificate problem: unable to get local issuer certificate 문제 해결 file YooN 2023.07.30 5847
343 웹 프로그래밍 XE 캐시파일 재성생후 404 Oops, Sorry. Page is not found! 나올때 YooN 2023.07.29 5698
342 응용 프로그래밍 [Apple] 엔터프라이즈 계정신청 (Enterprise Program) file YooN 2023.03.27 3968
341 웹 프로그래밍 XE - " Fatal error: Class 'Object' not found in " / class 낫파운드 오류 file YooN 2023.03.20 3645
340 응용 프로그래밍 [MSA] MSA란 무엇인가? 개념 이해하기 file YooN 2023.01.26 3428
339 웹 프로그래밍 iOS 앱 개발을 위한 인증서 생성 및 관리 file YooN 2023.01.18 3945
338 프로그래밍 [ iOS ] 앱 스토어 개인, 회사, 엔터프라이즈 차이점 file YooN 2023.01.09 2905
337 웹 프로그래밍 PHP 파서 이해하기 (<?php의 php를 생략하고 간단히 <? 태그 와 ?> 태그를 사용하는 방법) YooN 2016.08.10 5816
336 프로그래밍 SVN의 cleanup 에러시 해결방법 YooN 2016.05.05 4088
335 프로그래밍 [오류해결] svn cleanup failed-previous operation has not finished; run cleanup if it was interrupted file YooN 2016.05.05 4147
334 프로그래밍 TortoiseSVN 계정변경 file YooN 2016.05.05 2984
333 프로그래밍 SVN passwd 설정 : 계정 (users/passwd) file YooN 2016.05.04 3950
332 웹 프로그래밍 XE 비회원 글쓰기 항목 지우기 file YooN 2016.04.28 4438
331 응용 프로그래밍 메모리 영역 (code, data, stack, heap) file YooN 2016.03.23 4825
330 응용 프로그래밍 [SVN] Subversion 명령들 file YooN 2016.02.06 5591
329 응용 프로그래밍 IBM JDK 1.6 에서 Spring 2.5.2를 사용할 때 GenericTypeResolver 에서 NullPointerException이 발생하는 문제 YooN 2016.01.27 5750
328 웹 프로그래밍 오른쪽 마우스 금지 소스 / 드래그 금지 소스 YooN 2016.01.20 4245
327 응용 프로그래밍 [전자정부 표준프레임워크] 톰캣(Tomcat) 설치하기 file YooN 2016.01.02 4904
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 18 Next
/ 18


즐겨찾기 (가족)

JAESOO's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

숭실대 컴퓨터 통신연구실 (서창진)

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

아스가르드 좋은사람/나쁜사람

JServer.kr

제이서버 메타블로그

재수 티스토리


즐겨찾기 (강의, 커뮤니티)

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너