-------------------------------------------------------------------------------------------------------------
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>
<?}?>
무슨말인지 정말 모르겠어요...
도움좀 받고 싶습니다.
1번 2번은 그냥 그대로 놔둬두 되죵???
그럼 3번 4번은 어케 하는건가요?
적용할 페이지 맨 하단이란 말뜻과 적용할 textarea 에 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>
<?}?>
무슨말인지 정말 모르겠어요...
도움좀 받고 싶습니다.
1번 2번은 그냥 그대로 놔둬두 되죵???
그럼 3번 4번은 어케 하는건가요?
적용할 페이지 맨 하단이란 말뜻과 적용할 textarea 에 geditor 옵션추가라는 말뜻을...
모르겠어요
게시글 목록
| 번호 | 제목 |
|---|---|
| 198 | |
| 197 | |
| 196 | |
| 188 | |
| 187 | |
| 184 | |
| 181 | |
| 177 | |
| 176 | |
| 175 | |
| 173 | |
| 170 | |
| 166 | |
| 165 | |
| 163 | |
| 161 | |
| 153 | |
| 152 | |
| 151 | |
| 148 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기