안녕하세요, 카페24 운영도우미 입니다.
운영일지 게시판 댓글 목록에 페이지 이동 기능을 사용할 수 있도록 업데이트 되었습니다.
아래의 적용방법 확인 후 쇼핑몰 운영에 활요하시기 바랍니다.
■ 적용일자 : 2013-04-24 (수)
■ 업데이트 내용
'쇼핑몰어드민 > 커뮤니티 > 운영일지 관리 > 운영일지설정' 메뉴에
댓글 페이징, 댓글 페이지당목록수, 댓글 페이지표시수 설정 기능이 추가되었습니다.
▼ 운영일지 설정화면

1) 댓글 페이징 : '사용안함' 설정시 서버 부하를 방지하고자 게시글 당 댓글개수가 5,000개로 제한됩니다.
2) 댓글 페이징당 목록 수 : 한 페이지당 출력될 댓글 목록 수를 설정합니다. (5~999)
3) 댓글 페이지 표시 수 : 댓글 아랫부분에 표시될 페이지 수를 설정합니다. (1~99)
[HTML 수정방법]
추가된 페이징 기능을 이용하시려면 아래의 내용대로 반드시 HTML 소스를 추가해주셔야 합니다.
- 위치 : '쇼핑몰어드민 > 디자인관리 > HTML 디자인 설정 > 상점운영관련화면 > 운영일지 > 글목록(c_3)
글 목록(u1) > 소스추가
- 아래와 같이 파란색 코드를 소스에 추가해 주세요.
{{* 파일 내용 : 운영일지 글 목록 출력 변수 설명 : $bbs_info.subject : 제목 $bbs_info.content : 내용 $bbs_info.write_date : 날짜 $bbs_info.comment_count : 댓글수 $bbs_info.cmt_view_yn : 댓글목록 열림/닫힘 여부 $bbs_info.comment_paging : 댓글 페이징 출력 $c_3_u2 : 첨부 파일 $c_3_u3 : 댓글목록 $c_3_u4 : 댓글작성폼 *}} <!-- UNIT u1 시작 --> <tr> <td> <table cellpadding="5" cellspacing="0" width="100%"> <tr bgcolor="{{$tab_array.c_3.th_fgcolor}}"><td height="1"></td></tr> <tr> <td height="26"> <table width="100%" cellpadding=0 cellspacing=0 border=0> <tr> <td> <b><font color="{{$board_list_info.list_char_color}}">{{$bbs_info.subject}}</font></b></td> <td align="right"><font color="{{$board_list_info.list_char_color}}">{{$bbs_info.write_date}}</font></td> </tr> </table> </td> </tr> <tr bgcolor="{{$tab_array.c_3.td_fgcolor}}"><td height="1"></td></tr> <tr valign="top"> <td> <table width="100%" border="0" cellspacing="0" cellpadding="5"> <tr><td height="10"></td></tr> {{$c_3_u2}} <tr><td height="50"> <font color="{{$board_list_info.list_char_color}}">{{$bbs_info.content}}</font></td></tr> <tr><td height="10"></td></tr> </table> </td> </tr> <tr bgcolor="{{$tab_array.c_3.td_fgcolor}}"><td height="1"></td></tr> <tr> <td> <table cellpadding="0" cellspacing="0" width="100%" border=0> <tr> <td class="part01" height='26'> <a href="javascript:openComment('{{$bbs_info.number}}')"><font color="{{$board_list_info.list_char_color}}">댓글({{$bbs_info.comment_count}})</font></a></td> </tr> </table> <table cellpadding="0" cellspacing="0" width="100%" border=0 style="display: {{$bbs_info.cmt_view_yn}}" id="commentList_{{$bbs_info.number}}"> <tr> <td width="4"></td> <td> <table cellspacing="0" cellpadding="0" border="0" width="98%"> {{$c_3_u3}} </table> <br> <table cellspacing="0" cellpadding="0" border="0" width="98%"> <tr> <td align="center">{{$comment_paging}}</td> </tr> </table> <br> {{$c_3_u4}} </td> <td width="4"></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td height="20"></td> </tr> <!-- UNIT u1 종료 --> |
- 위치 : '쇼핑몰어드민 > 디자인관리 > HTML 디자인 설정 > 상점운영관련화면 > 운영일지 > 글목록(c_3)
댓글 작성폼(u4) > 소스추가
- 아래와 같이 파란색 코드를 소스에 추가해 주세요.
{{* 파일 내용 : 댓글 작성 폼( 권한이 있을 때 ) 변수 설명 $bbs_info.no : 게시물 고유 번호 $bbs_info.number : 게시물 정렬 번호 $writer_form : 댓글이름 입력란 $used_name : 이름 입력 사용 여부 $member_id : 회원아이디(로그인한 경우) $page : 페이지번호 $offset : 시작포인트(DB) $board_list_info.is_comment_paging : 댓글페이징 사용여부 $bbs_info.end_page : 댓글추가입력시 이동할 페이지 번호 *}} <!-- UNIT u4 시작 --> <table border="1" cellspacing="0" bgcolor="{{$board_list_info.list_bgcolor}}"> <tr> <td> <table cellpadding="0" cellspacing="0" bgcolor="{{$board_list_info.list_bgcolor}}"> <form action="admindiary_a.php" method="post" name="comment_frm_{{$bbs_info.number}}" onSubmit="return comment_submit_check( this, '{{$used_name}}' );"> <input type="hidden" name="mode" value="insert"> <input type="hidden" name="page_type" value="comment"> <input type="hidden" name="no" value="{{$bbs_info.no}}"> <input type="hidden" name="member_id" value="{{$member_id}}"> <input type="hidden" name="page" value="{{$page}}"> <input type="hidden" name="offset" value="{{$offset}}"> <input type="hidden" name="is_comment_paging" value="{{$board_list_info.is_comment_paging}}"> <input type="hidden" name="c_page" value="{{$bbs_info.end_page}}"> <tr> <td rowspan="2" align="center" width="100"><font color="{{$board_list_info.list_char_color}}">댓글달기</font></td> <td> {{$writer_form}} </td> </tr> <tr> <td width="540"> <textarea name="comment" rows="3" cols="50" ></textarea> <input type="image" src="{{$img_array.c_3.4.url}}" border="0" align="absmiddle"> </td> </tr> <tr style="display:{{$captcha_used}};"> <td colspan="2"> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="80"></td> <td> <div id="c_3_u14"> {{$tmp_image_name}} <input type="text" name="captcha" value="" /> * 왼쪽의 문자를 공백없이 입력하세요.(대소문자구분) </div> </td> </tr> </table> </td> </tr> </form> </table> </td> </tr> </table> <!-- UNIT u4 종료 --> |
▼ 운영일지 댓글 페이징 적용화면

■ 참고사항
댓글 페이징 '사용안함' 설정 시 게시글당 댓글 작성 제한은 5,000개입니다.
제한 해제가 필요하신 경우 고객지원센터로 문의해주시기 바랍니다.
카페24 는 쇼핑몰 운영을 보다 편리하고 쉽게 할 수 있도록 기능 업데이트를 지속적으로 진행하고 있습니다.
더 좋은 서비스가 되기 위해 노력하겠습니다. 끊임없는 애정과 관심 부탁 드립니다.
궁금하신 사항은 언제든지 고객지원센터 1:1게시판으로 문의해주세요. [문의하기]