테스트 사이트 - 개발 중인 베타 버전입니다

xquared 에디터 연동 관련

· 14년 전 · 1992 · 2
치에디터 빼고 xquared 에디터 연동 할려고 합니다.

치에디터에 관련된 소스 빼고 컨텐츠 부분 적용한 내용이
[code]
<? if ($is_dhtml_editor) { ?>
<textarea name="content" id="wr_content">
&lt;p&gt;Hello &lt;a href="#"&gt;World&lt;/a&gt;!&lt;/p&gt;
</textarea>

<? } else { ?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=50% align=left valign=bottom>
<span style="cursor: pointer;" onclick="textarea_decrease('wr_content', 10);"><img src="<?=$board_skin_path?>/img/up.gif"></span>
<span style="cursor: pointer;" onclick="textarea_original('wr_content', 10);"><img src="<?=$board_skin_path?>/img/start.gif"></span>
<span style="cursor: pointer;" onclick="textarea_increase('wr_content', 10);"><img src="<?=$board_skin_path?>/img/down.gif"></span></td>
<td width=50% align=right><? if ($write_min || $write_max) { ?><span id=char_count></span>글자<?}?></td>
</tr>
</table>
<textarea id="wr_content" name="wr_content" class=tx style='width:100%; word-break:break-all;' rows=10 itemname="내용" required
<? if ($write_min || $write_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>><?=$content?></textarea>
<? if ($write_min || $write_max) { ?><script language="javascript"> check_byte('wr_content', 'char_count'); </script><?}?>
<? } ?>
[/code]
입니다.

이러면
---------------------------
웹 페이지의 메시지
---------------------------
글쓰기에는 $wr_id 값을 사용하지 않습니다.
---------------------------
확인
---------------------------
라는 오류를 내뱉더군요 ;;

그리고
[code]
<?
if ($is_dhtml_editor) echo cheditor3('wr_content');
?>
[/code]
를 삭제하면 에디터가 안보이고 그대로 잇으면 잘보입니다 ;;
[ 설치 튜토리얼 : http://xquared.springnote.com/pages/472344 ]

놓친부분이 잇나요 ?

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 2개

write.skin.php의
<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/write_update.php';";
else
echo "f.action = './write_update.php';";
?>

를 함수 앞부분으로 옮겨보세요
아래의 위치처럼^^;

function fwrite_submit(f)
{

<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/write_update.php';";
else
echo "f.action = './write_update.php';";
?>


http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=24495
정말 감사합니다 ㅎ

게시글 목록

번호 제목
284508
284499
284492
284490
284484
284481
284478
284476
284474
284472
284470
284458
284457
284454
284453
284447
284446
284444
284441
284440