테스트 사이트 - 개발 중인 베타 버전입니다

cheditor5 적용시켜보려는데 잘 안되네요..

· 14년 전 · 2231 · 1
자료실에 올라온 배포판에서 cheditor5로 변경하는거 나왔더라구요..

스킨에 보면

<textarea id="wr_content" name="wr_content" class=tx style='width:100%; word-break:break-all;' rows=15 itemname="내용" required
<? if ($is_dhtml_editor) echo ' geditor '; ?>
<? 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><?}?>

이렇게 되어 있는데
중간의
<? if ($is_dhtml_editor) echo ' geditor '; ?>
이 부분을
<? if ($is_dhtml_editor) echo cheditor3('wr_content'); ?> 이렇게 바꾸어 주니
에러가 나네요..
<b>Fatal error</b>: Call to undefined function cheditor3() in <b>/home/hosting_users/province/www/skin/board/basic/write.skin.php</b> on line <b>137</b><br />

왜 이럴까요?

cheditor5 폴더 전체 업로드
lib/cheditor4.lib.php 교체
config.php 에 $g4['is_cheditor5'] = true; 추가

이렇게 순서대로 해주고 나서 적용해보았는데 에러가 나니 난감하네요..^^
답변 부탁드립니다~

댓글 작성

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

로그인하기

댓글 1개

13년 전
해결했나요

게시글 목록

번호 제목
284508
284499
284492
284490
284484
284481
284478
284476
284474
284472
284470
284458
284457
284454
284453
284447
284446
284444
284441
284440