DHTML을 선택하면 저렇게 나오네요 정보
DHTML을 선택하면 저렇게 나오네요관련링크
본문
DHTML을 선택하면 내용쓰는 폼이 사라집니다.
링크를 보시면 아실겁니다.
DHTML을 선택한것
DHMTL을 선택 안한것
이유를 잘 못찾겠네요 T_T;;
댓글 전체
적용하신 게시판스킨의 write.skin.php 소스에 dhtml 관련 부분이 없는 것으로 예상 됩니다.
<td style='padding-left:20px;'>· 내용</td>
<td style='padding:5 0 5 0;'>
<? if ($is_dhtml_editor) { ?>
<?=cheditor2('fwrite', 'wr_content', '100%', '350');?>
<? } else { ?> ........
이런 부분이 있는지 확인 해 보세요.
<td style='padding-left:20px;'>· 내용</td>
<td style='padding:5 0 5 0;'>
<? if ($is_dhtml_editor) { ?>
<?=cheditor2('fwrite', 'wr_content', '100%', '350');?>
<? } else { ?> ........
이런 부분이 있는지 확인 해 보세요.
브라우져 창에 2개의 오류를 확인해 보심이...
게시판스킨 write.skin.php 의 상단부분에 cheditor 정의부분이 있는지 확인해 보세요..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor.lib.php");
echo "<script src='$g4[editor_path]/cheditor.js'></script>";
echo cheditor1('wr_content', $content);
}
?>
내용 부분을 찾아서 아래와 같이 적용되었는지 확인..
<tr>
<td style='padding-left:20px;'>· 내용</td>
<td style='padding:5 0 5 0;'>
<? if ($is_dhtml_editor) { ?>
<?=cheditor2('fwrite', 'wr_content', '100%', '350');?>
<? } else { ?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=50% align=left valign=bottom>
<span style="cursor: pointer;" onclick="textarea_decrease('wr_content', 10);"><img src="<?=$board_skin_path?>/img/up.gif"></span>
<span style="cursor: pointer;" onclick="textarea_original('wr_content', 10);"><img src="<?=$board_skin_path?>/img/start.gif"></span>
<span style="cursor: pointer;" onclick="textarea_increase('wr_content', 10);"><img src="<?=$board_skin_path?>/img/down.gif"></span></td>
<td width=50% align=right><? if ($write_min || $write_max) { ?><span id=char_count></span>글자<?}?></td>
</tr>
</table>
<textarea id="wr_content" name="wr_content" class=tx style='width:100%; word-break:break-all;' rows=10 itemname="내용" required
<? if ($write_min || $write_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>><?=$content?></textarea>
<? if ($write_min || $write_max) { ?><script language="javascript"> check_byte('wr_content', 'char_count'); </script><?}?>
<? } ?>
</td>
</tr>
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor.lib.php");
echo "<script src='$g4[editor_path]/cheditor.js'></script>";
echo cheditor1('wr_content', $content);
}
?>
내용 부분을 찾아서 아래와 같이 적용되었는지 확인..
<tr>
<td style='padding-left:20px;'>· 내용</td>
<td style='padding:5 0 5 0;'>
<? if ($is_dhtml_editor) { ?>
<?=cheditor2('fwrite', 'wr_content', '100%', '350');?>
<? } else { ?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=50% align=left valign=bottom>
<span style="cursor: pointer;" onclick="textarea_decrease('wr_content', 10);"><img src="<?=$board_skin_path?>/img/up.gif"></span>
<span style="cursor: pointer;" onclick="textarea_original('wr_content', 10);"><img src="<?=$board_skin_path?>/img/start.gif"></span>
<span style="cursor: pointer;" onclick="textarea_increase('wr_content', 10);"><img src="<?=$board_skin_path?>/img/down.gif"></span></td>
<td width=50% align=right><? if ($write_min || $write_max) { ?><span id=char_count></span>글자<?}?></td>
</tr>
</table>
<textarea id="wr_content" name="wr_content" class=tx style='width:100%; word-break:break-all;' rows=10 itemname="내용" required
<? if ($write_min || $write_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>><?=$content?></textarea>
<? if ($write_min || $write_max) { ?><script language="javascript"> check_byte('wr_content', 'char_count'); </script><?}?>
<? } ?>
</td>
</tr>
http://sir.co.kr/bbs/tb.php/g4_qa/7011
저와 똑같은 문제를 가지신분인데 해결을 하셨다고 해뒀더라구요. config.php 파일을 업데이트 안했다고 하는데 무슨말인지 모르겠습니다 -_-;; 도움 부탁드립니다 OTL
저와 똑같은 문제를 가지신분인데 해결을 하셨다고 해뒀더라구요. config.php 파일을 업데이트 안했다고 하는데 무슨말인지 모르겠습니다 -_-;; 도움 부탁드립니다 OTL