에디터를 중복으로 사용가능한가요? > 그누4 질문답변

그누4 질문답변

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

에디터를 중복으로 사용가능한가요? 정보

에디터를 중복으로 사용가능한가요?

본문

에디터를 중복으로 사용가능할까요?
#1. 쓰기폼에서
<script src="<?=$g4[editor_path]?>/cheditor.js"></script>
<?=cheditor1('wr_content', $content);?>
<?=cheditor1('ext9_00', $ext9_00);?>
<?=cheditor1('ext9_01', $ext9_01);?>
<?=cheditor1('ext9_02', $ext9_02);?>
<?=cheditor1('ext9_03', $ext9_03);?>


<?=cheditor2('fwrite', 'wr_content', '100%', '350');?>
<?=cheditor2('fwrite', 'ext9_00', '100%', '350');?>
<?=cheditor2('fwrite', 'ext9_01', '100%', '350');?>
<?=cheditor2('fwrite', 'ext9_02', '100%', '350');?>


이렇식으로 넣으니 쓰기폼에서는 다 나타납니다.
그러나 글을 쓴다음 화면에 나타나지 않습니다.

ㅡㅡ;;


#2. 생각.....
http://demo.sir.co.kr/youngcart4/adm/shop_admin/itemform.php?w=u&it_id=1140022151&ca_id=&sel_ca_id=&sel_field=it_name&search=&sort1=&sort2=&page=1


영카드에 보면 에디터를 3번 사용하는 것을 봤습니다.
그래서 에디터를 중복으로 사용하고 싶어서
소스를 보니 따로 불러오는 것 같은데요..

혹시 중복으로 어떻게 사용하는지 아시는분???/

<table width=100% cellpadding=0 cellspacing=0>
<colgroup width=15%></colgroup>
<colgroup width=85% bgcolor=#FFFFFF></colgroup>
<tr class=ht>
    <td>상단이미지</td>
    <td colspan=3>
        <input type=file class=ed name=it_himg size=40>
                <img src='../../adm/img/icon_help.gif' border=0 width=15 height=15 align=absmiddle onclick="help('help21', 0, 0);" style='cursor:hand;'><div id='help21' style='position:absolute; display:none;'><div id='csshelp1'><div id='csshelp2'><div id='csshelp3'>상품상세설명 페이지 상단에 출력하는 이미지입니다.</div></div></div></div>    </td>
</tr>

<tr class=ht>
    <td>하단이미지</td>
    <td colspan=3>
        <input type=file class=ed name=it_timg size=40>
                <img src='../../adm/img/icon_help.gif' border=0 width=15 height=15 align=absmiddle onclick="help('help22', 0, 0);" style='cursor:hand;'><div id='help22' style='position:absolute; display:none;'><div id='csshelp1'><div id='csshelp2'><div id='csshelp3'>상품상세설명 페이지 하단에 출력하는 이미지입니다.</div></div></div></div>    </td>
</tr>

<tr>
    <td>상품상단내용 <img src='../../adm/img/icon_help.gif' border=0 width=15 height=15 align=absmiddle onclick="help('help23', -150, 0);" style='cursor:hand;'><div id='help23' style='position:absolute; display:none;'><div id='csshelp1'><div id='csshelp2'><div id='csshelp3'>상품상세설명 페이지 상단에 출력하는 HTML 내용입니다.</div></div></div></div></td>
    <td colspan=3 align=right style='padding-top:7px; padding-bottom:7px;'>
    <input type='hidden' name='it_head_html' id='it_head_html'>
    <script>
    var ed_it_head_html = new cheditor('ed_it_head_html');
    ed_it_head_html.editorPath = '../../cheditor';
    ed_it_head_html.width = '100%';
    ed_it_head_html.height = '200';
    ed_it_head_html.pasteContent = true;
    ed_it_head_html.pasteContentForm = 'ps_it_head_html';
    ed_it_head_html.formName = 'fitemform';
    ed_it_head_html.run();
    </script></td>
</tr>
<tr>
    <td>상품하단내용 <img src='../../adm/img/icon_help.gif' border=0 width=15 height=15 align=absmiddle onclick="help('help24', -150, 0);" style='cursor:hand;'><div id='help24' style='position:absolute; display:none;'><div id='csshelp1'><div id='csshelp2'><div id='csshelp3'>상품상세설명 페이지 상단에 출력하는 HTML 내용입니다.</div></div></div></div></td>
    <td colspan=3 align=right style='padding-top:7px; padding-bottom:7px;'>
    <input type='hidden' name='it_tail_html' id='it_tail_html'>
    <script>
    var ed_it_tail_html = new cheditor('ed_it_tail_html');
    ed_it_tail_html.editorPath = '../../cheditor';
    ed_it_tail_html.width = '100%';
    ed_it_tail_html.height = '200';
    ed_it_tail_html.pasteContent = true;
    ed_it_tail_html.pasteContentForm = 'ps_it_tail_html';
    ed_it_tail_html.formName = 'fitemform';
    ed_it_tail_html.run();
    </script></td>
</tr>

<tr class=ht>
    <td>입력일시</td>
    <td colspan=3>
        2006-02-16 01:50:43        <img src='../../adm/img/icon_help.gif' border=0 width=15 height=15 align=absmiddle onclick="help('help25', 0, 0);" style='cursor:hand;'><div id='help25' style='position:absolute; display:none;'><div id='csshelp1'><div id='csshelp2'><div id='csshelp3'>상품을 처음 입력(등록)한 시간입니다.</div></div></div></div>    </td>
</tr>
<tr><td colspan=4 height=1 bgcolor=#CCCCCC></td></tr>
</table>
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로