설치 매뉴얼
※ 그누보드설치 디렉토리에 바로 geditor 디렉토리 그대로 업로드 하셔야 합니다.
설치 후 디렉토리 예)
-------------------------------------------------------------------------------------------------------------
1. upload.php 파일 업로드경로 생성/수정 (경로가 존재해야 하며 퍼미션은 707)
-------------------------------------------------------------------------------------------------------------
// --
// 첨부 이미지 저장 디렉토리
// --
$path = '../data/geditor';
// --
-------------------------------------------------------------------------------------------------------------
2. geditor.js 파일 경로 확인
-------------------------------------------------------------------------------------------------------------
/////////////// 사용자 설정 시작 ///////////////
// geditor.js 파일 경로
var ge_path = g4_path + '/geditor';
// 상단 툴바 이미지 경로
var ge_icon_path = ge_path + '/icons';
// 이모티콘 이미지 경로
var ge_emoticon_path = ge_path + '/emoticons';
// 이모티콘 갯수
var ge_emoticon_count = 43;
-------------------------------------------------------------------------------------------------------------
3. 적용할 페이지 맨 하단에 스크립트 추가
-------------------------------------------------------------------------------------------------------------
<script language="JavaScript" src="<?=$g4[path]?>/geditor/geditor.js"></script>
-------------------------------------------------------------------------------------------------------------
4. 적용할 textarea 에 geditor 옵션추가
-------------------------------------------------------------------------------------------------------------
<textarea name="wr_content" geditor>
--------------------------------------------------------------------------------------------------------
ex) 그누보드 적용 예 (write.skin.php 파일 참고)
-------------------------------------------------------------------------------------------------------------
..............
<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 '; ?>><?=$content?></textarea>
..............
<? if ($is_dhtml_editor) {?>
<script language="JavaScript" src="<?=$g4[path]?>/geditor/geditor.js"></script>
<?}?>
설치 후 디렉토리 예)
adm/
bbs/
data/
lib/
geditor/
skin/
extend/
bbs/
data/
lib/
geditor/
skin/
extend/
-------------------------------------------------------------------------------------------------------------
1. upload.php 파일 업로드경로 생성/수정 (경로가 존재해야 하며 퍼미션은 707)
-------------------------------------------------------------------------------------------------------------
// --
// 첨부 이미지 저장 디렉토리
// --
$path = '../data/geditor';
// --
-------------------------------------------------------------------------------------------------------------
2. geditor.js 파일 경로 확인
-------------------------------------------------------------------------------------------------------------
/////////////// 사용자 설정 시작 ///////////////
// geditor.js 파일 경로
var ge_path = g4_path + '/geditor';
// 상단 툴바 이미지 경로
var ge_icon_path = ge_path + '/icons';
// 이모티콘 이미지 경로
var ge_emoticon_path = ge_path + '/emoticons';
// 이모티콘 갯수
var ge_emoticon_count = 43;
-------------------------------------------------------------------------------------------------------------
3. 적용할 페이지 맨 하단에 스크립트 추가
-------------------------------------------------------------------------------------------------------------
<script language="JavaScript" src="<?=$g4[path]?>/geditor/geditor.js"></script>
-------------------------------------------------------------------------------------------------------------
4. 적용할 textarea 에 geditor 옵션추가
-------------------------------------------------------------------------------------------------------------
<textarea name="wr_content" geditor>
--------------------------------------------------------------------------------------------------------
ex) 그누보드 적용 예 (write.skin.php 파일 참고)
-------------------------------------------------------------------------------------------------------------
..............
<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 '; ?>><?=$content?></textarea>
..............
<? if ($is_dhtml_editor) {?>
<script language="JavaScript" src="<?=$g4[path]?>/geditor/geditor.js"></script>
<?}?>
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 30개
다시 받아보심이..?
안가게 하는 방법 없나요??
그 다음부터 무슨말인지 모르겠어요
자세히 알려주시면 감사하겠습니다.
일단해봐야죵...ㅋㅋ
설명이 너무 짧아요
적용할 페이지 적용할 textarea 이러면
안 써 본 사람은 어떻게 압니까
초보자도 좀 배려해 주세요
찾기로 textarea라고 쓰인 부분이 있는데 그 부분은 대략 저렇게 수정해달라는 말인거 같군요.
저도 php를 모르는 생 초짜라서 미친적하고 건들여봤더니 되는군요.
걍 덮어씌우기하면 되는건 없나요?
dhtml 에디터 사용 한다고 설정에서 바꾸면
dhtml 에디터 대신 지에디터 코드가 삽입되어 지에디터로 작동한다는 말입니까??