본문(wr_content) 없이 글쓰기 정보
본문(wr_content) 없이 글쓰기본문
아래 값으로 본문을 대체하면 됩니다.
<input type="hidden" name="wr_content" value="test">
<?php if(0){?>
<div class="write_div">
<label for="wr_content" class="sound_only">내용<strong>필수</strong></label>
<div class="wr_content <?php echo $is_dhtml_editor ? $config['cf_editor'] : ''; ?>">
<?php if($write_min || $write_max) { ?>
<!-- 최소/최대 글자 수 사용 시 -->
<p id="char_count_desc">이 게시판은 최소 <strong><?php echo $write_min; ?></strong>글자 이상, 최대 <strong><?php echo $write_max; ?></strong>글자 이하까지 글을 쓰실 수 있습니다.</p>
<?php } ?>
<?php echo $editor_html; // 에디터 사용시는 에디터로, 아니면 textarea 로 노출 ?>
<?php if($write_min || $write_max) { ?>
<!-- 최소/최대 글자 수 사용 시 -->
<div id="char_count_wrap"><span id="char_count"></span>글자</div>
<?php } ?>
</div>
</div>
<?php }?>
8
댓글 5개
매번 내용이 필수라 게시판관리에서 글쓰기 기본내용에 아무말대잔치로 내용 넣어놓고 출력만 안되게 코드를 지웠었는데 전혀 생각지도 못한 쉬운 방법이 있었네요!!
왜 저 생각을 못했을까.....
너무 좋아요 굿
감사합니다