그누보드 코멘트에 지에디터 설치하는 방법좀 알려주세요? 정보
그누보드 코멘트에 지에디터 설치하는 방법좀 알려주세요?본문
이곳에 답변이 빠른것 같아.....
write.skin에는 설치되는데..지에디터 코멘트에는 설치가 안 되네여
팁을 응용하여 설치하여 보았는데 어렵네요^^+;;;;;
배추님 스킨을 사용해도 되지만......
개인적인 사정상 그누보드 코멘트 스킨에 지에디터가 필요해서요.
도움을 청하고자 질문 드림니다.
감사합니다.
-------------------------------------------------------------------------------------------------------------
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>
<?}?>
write.skin에는 설치되는데..지에디터 코멘트에는 설치가 안 되네여
팁을 응용하여 설치하여 보았는데 어렵네요^^+;;;;;
배추님 스킨을 사용해도 되지만......
개인적인 사정상 그누보드 코멘트 스킨에 지에디터가 필요해서요.
도움을 청하고자 질문 드림니다.
감사합니다.
-------------------------------------------------------------------------------------------------------------
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>
<?}?>
댓글 전체