cheditor4 게시판 적용이 안되네요..

다른 게시판에 체디터4 적용 하려고 하는데요.. 생각보다 잘 안되네요.. dhtml 사용은 체크 하였습니다.

젤 위에 아래부분 추가하고

if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor4.lib.php");
echo "<script src='$g4[cheditor4_path]/cheditor.js'></script>";
echo cheditor1('wr_content', '100%', '250');
}

아래부분 추가 하였구요..

<td class='write_head' style='padding:5 0 5 10;' colspan='2'>
<? if ($is_dhtml_editor) { ?>
<?=cheditor2('wr_content', $content);?>
<? } 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 type="text/javascript"> check_byte('wr_content', 'char_count'); </script><?}?>
<? } ?>
</td>

그 다음 젤 밑에 한 부분더 추가하고 했는데 안되네요..;;

적용 하고 싶은 게시판은 첨부파일로 올려 볼게요.

첨부파일

write.skin.php (12.8 KB) 2회 2012-05-05 20:27
|

댓글 1개

검색을 해 보시면 나오겠지만...

에디터 추가 부분이 스킨에만 있지는 않는걸로 압니다.
config.php 파일에도 있고

bbs/write.php 인가에도 있는걸로 아는데...

아무튼 검색을 잠시만 해 보세요...
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
13년 전 조회 742
13년 전 조회 2,527
13년 전 조회 1,152
13년 전 조회 1,337
13년 전 조회 1,566
13년 전 조회 1,252
13년 전 조회 1,544
13년 전 조회 1,567
13년 전 조회 1,094
13년 전 조회 1,590
13년 전 조회 1,635
13년 전 조회 869
13년 전 조회 7,484
13년 전 조회 880
13년 전 조회 936
13년 전 조회 991
13년 전 조회 965
13년 전 조회 814
13년 전 조회 1,561
13년 전 조회 952
🐛 버그신고