하나의 게시판에 dhtml 2개 달려면~~ > 그누4 질문답변

그누4 질문답변

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

하나의 게시판에 dhtml 2개 달려면~~ 정보

하나의 게시판에 dhtml 2개 달려면~~

본문

하나의 게시판에 Content와 Wr_1 에 Dhtml을 달려면 어떻게 해야 하나요?

모양만 2개 Dhtml 달면 되는게 아닌가봐요.

모양은 그림과 같이 2개 나오게 했는데 글을 쓰니~ ㅎㅎㅎ 글이 입력이 안되네요.

도움 좀 부탁합니다.

댓글 전체

adm/board_form.php  요 파일 참조해보세요~

핵심소스만~
<?=include_once ("$g4[path]/lib/cheditor4.lib.php");?>
<?=cheditor1('bo_content_head', '100%', '200');?>
<?=cheditor1('bo_content_tail', '100%', '200');?>

<!--글나오는부분 -->
<?=cheditor2('bo_content_head', $board[bo_content_head]);?>
<?=cheditor2('bo_content_tail', $board[bo_content_tail]);?>

<script type="text/javascript">
    <?=cheditor3('bo_content_head')."\n";?>
    <?=cheditor3('bo_content_tail')."\n";?>
</script>



게시판일 경우

상단...
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

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');
    echo cheditor1('wr_1', '100%', '250'); //추가
}
?>

<!-- 글 입력창 --!>
<tr>
    <td class='write_head' style='padding:5 0 5 10;' colspan='2'>
        <? if ($is_dhtml_editor) { ?>
            <?=cheditor2('wr_content', $content);?>
....
<tr>
    <td class='write_head' style='padding:5 0 5 10;' colspan='2'>
            <?=cheditor2('wr_1', $write[wr_1]);?> <!-- 추가 -->
  </td>
</tr>

<!-- 하단 javascript 란 --!>
    <?
    if ($is_dhtml_editor) echo cheditor3('wr_content');
    if ($is_dhtml_editor) echo cheditor3('wr_1'); //추가
    ?>
전체 562 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT