웹마스터 팁

게시판에서 가끔  댓글기능을 감추고 싶을때가 있더라고요 그래서 올려 봅니다
/zbxe/modules/board/skins/xe_board/skin.xml 파일에서 

        <var name="default_style" type="select">
            <title xml:lang="ko">기본 형태</title>
            <title xml:lang="jp">デフォルトスタイル</title>
            <title xml:lang="zh-CN">默认样式</title>
            <title xml:lang="en">Default Form</title>
   <title xml:lang="es">Formulario por defecto</title>
            <description xml:lang="ko">
                목록형, 웹진형, 갤러리의 기본 스타일을 지정할 수 있습니다.</description>
             <description xml:lang="jp">
                목록형, 웹진형, 갤러리의 기본 스타일을 지정할 수 있습니다.</description>
            <description xml:lang="zh-CN">
                목록형, 웹진형, 갤러리의 기본 스타일을 지정할 수 있습니다.</description>
   <description xml:lang="en">
                목록형, 웹진형, 갤러리의 기본 스타일을 지정할 수 있습니다.</description>
   <description xml:lang="es">
                목록형, 웹진형, 갤러리의 기본 스타일을 지정할 수 있습니다.</description>
            <default>list</default>
            <default>webzine</default>
   <default>gallery</default>
        </var>

부분 다음에
       <var name="display_comment" type="select">
            <title xml:lang="ko">댓글</title>
            <title xml:lang="jp">comment</title>
            <title xml:lang="zh-CN">comment</title>
            <title xml:lang="en">comment</title>
           <title xml:lang="es">comment</title>
            <default>N</default>
            <default>Y</default><description xml:lang="ko">
      댓글기능을 사용하시겠습니까?            </description>
        </var>
 


을 추가 합니다
         
다음 /zbxe/modules/board/skins/xe_board/view_document.html 파일에서 

<!-- 댓글 -->
<a name="comment"></a>
<!--#include("./comment.html")-->

<!-- 댓글 입력 폼 -->
<
!--@if($grant->write_comment && $oDocument->isEnableComment() )-->
    <!--%import("filter/insert_comment.xml")-->
    <form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
    <input type="hidden" name="mid" value="{$mid}" />
    <input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />
    <input type="hidden" name="comment_srl" value="" />
    <input type="hidden" name="content" value="" />
        <div class="boardWrite commentEditor">
            <div class="userNameAndPw">
                <
!--@if(!$is_logged)-->
                <label for="userName">{$lang->writer}</label>
                <input type="text" name="nick_name" value="" class="userName inputTypeText" id="userName"/>

                <label for="userPw">{$lang->password}</label>
                <input type="password" name="password" value="" id="userPw" class="userPw inputTypeText" />

                <label for="emailAddress">{$lang->email_address}</label>
                <input type="text" name="email_address" value="" id="emailAddress" class="emailAddress inputTypeText"/>

                <label for="homePage">{$lang->homepage}</label>
                <input type="text" name="homepage" value="" id="homePage" class="homePage inputTypeText"/>
                <
!--@else-->
                <input type="checkbox" name="notify_message" value="Y" id="notify_message" />
                <label for="notify_message">{$lang->notify}</label>
                <
!--@end-->

                <input type="checkbox" name="is_secret" value="Y" id="is_secret" />
                <label for="is_secret">{$lang->secret}</label>

            </div>

            <div class="editor">{$oDocument->getCommentEditor()}</div>
        </div>

        <div class="commentButton tRight">
            <span class="button"><input type="submit" value="{$lang->cmd_comment_registration}" accesskey="s" /></span>
        </div>
    </form>
<
!--@end-->


위 부분을 다음과 같이 바꿔 줍니다

<!--@if($module_info->display_comment!='N')-->
<!-- 댓글 -->
<a name="comment"></a>
<!--#include("./comment.html")-->

<!-- 댓글 입력 폼 -->
<
!--@if($grant->write_comment && $oDocument->isEnableComment() )-->
    <!--%import("filter/insert_comment.xml")-->
    <form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
    <input type="hidden" name="mid" value="{$mid}" />
    <input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />
    <input type="hidden" name="comment_srl" value="" />
    <input type="hidden" name="content" value="" />
        <div class="boardWrite commentEditor">
            <div class="userNameAndPw">
                <
!--@if(!$is_logged)-->
                <label for="userName">{$lang->writer}</label>
                <input type="text" name="nick_name" value="" class="userName inputTypeText" id="userName"/>

                <label for="userPw">{$lang->password}</label>
                <input type="password" name="password" value="" id="userPw" class="userPw inputTypeText" />

                <!--@else-->

                <!--@end-->

 

            </div>

            <div class="editor">{$oDocument->getCommentEditor()}</div>
        </div>

        <div class="commentButton tRight">
            <span class="button"><input type="submit" value="{$lang->cmd_comment_registration}" accesskey="s" /></span>
        </div>
    </form>
<
!--@end-->
<
!--@else-->
<
!--@end-->





다음 관리자페이지 > 게시판관리 > 스킨관리에서


설정을 바꾸어 주시면 됩니다.

제목 글쓴이 날짜
[HTML 초보자] 글자 움직이는 폭(넓이) 설정 ZipShin 2002.10.28
희안한 css [투명한 프레임과 투명한 이미지] [10] ☜*핑♡크*☞ 2002.10.30
[HTML 초보자] 글자 움직이는 높이 설정 ZipShin 2002.11.02
입력폼 스타일변경... [2] 디아릭스 2002.11.04
링크부분에 밑줄을 없애는 방법 [5] Kinds 2002.11.04
[HTML 초보자] 일정한 방향으로 스크롤하기(마퀴태그) [5] ZipShin 2002.11.08
[HTML 초보자] 마퀴태그가 한번 반복 후 화면 끝에서 정지 ZipShin 2002.11.08
[HTML 초보자] 글자가 좌우 왕복하게 만들기. ZipShin 2002.11.14
〔Tale〕테일이랑 같이 글상자 이쁘게 만들어요 [1] TaleB˚ 2002.11.17
[HTML 초보자] 글자가 움직이는 스크롤 지연값 -_- ZipShin 2002.11.22
[HTML 초보자] 움직이는 글자반복횟수를 정하자... ZipShin 2002.11.22
[HTML 초보자] 글자움직이는 마퀴태그의 응용(Last) [3] ZipShin 2002.11.26
흐르는 폼 내용 출력 ㅡ,.ㅡγ [9] ☆밥동자γ 2002.11.30
허접강의 -_-; 소스보기 금지 푸는방법들 [21] 허진규 2002.12.05
[HTML 초보자]iframe대신 사용할수있는 오브젝트-1 [8] ZipShin 2002.12.06
[HTML 초보자]iframe대신 사용할수있는 오브젝트-2 [12] ZipShin 2002.12.06
[프레임셋] 1024*768.. 800*600 에서도 화면 제대로 보이기... [5] hooniv 2002.12.10
[HTML 초보자]동영상을 출력하자-1 [6] ZipShin 2002.12.11
[HTML 초보자]동영상을 출력하자-2 [3] ZipShin 2002.12.12
[HTML 초보자]동영상을 출력하자-3(높이와 넓이) ZipShin 2002.12.16