코멘트기본내용은 어디서수정하는건가요? 채택완료

코멘트기본내용은 어디서수정하는건가요? 

게시판관리자가면 게시판내용글작성 기본작성하는곳은잇는데

코멘트는없더라구요 기본코멘트 내용 만드는방법좀알려주세요

 

<tr>

            <th scope="row"><label for="bo_insert_content">글쓰기 기본 내용</label></th>

            <td>

                <textarea id="bo_insert_content" name="bo_insert_content" rows="5"><?php echo $board['bo_insert_content'] ?></textarea>

            </td>

            <td class="td_grpset">

                <input type="checkbox" name="chk_grp_insert_content" value="1" id="chk_grp_insert_content">

                <label for="chk_grp_insert_content">그룹적용</label>

                <input type="checkbox" name="chk_all_insert_content" value="1" id="chk_all_insert_content">

                <label for="chk_all_insert_content">전체적용</label>

            </td>

        </tr>

답변 2개

채택된 답변
+20 포인트

basic 게시판 스킨 기준

view_comment.skin.php 88줄에 추가

 

    if($w == '')

        $w = 'c';

if(!$c_wr_content) { $c_wr_content = "댓글 기본내용..."; } 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

<?php if ($list[$i]['is_edit']) { ?>
<a href="<?php echo $c_edit_href; ?>" onclick="comment_box('<?php echo $comment_id ?>', 'cu'); return false;">
<span class="text-muted media-btn">수정</span>
</a>
<?php } ?>

이렇게나오는데 어떻게수정해야되나요?

댓글을 작성하려면 로그인이 필요합니다.

    if($w == '')

        $w = 'c';

위 코드를 찾아서 아래내용을 추가하세요.

if(!$c_wr_content) { $c_wr_content = "댓글 기본내용..."; }  

 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

placeholder="아이디" 이렇게하고싶은데 글자하나쓰면 기본내용사라지는것요
어떻게작성해줘야하나요?

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인
🐛 버그신고