글쓰기 작성완료 누르면 올바른 방법으로 이용하십시오.

뜹니다 건드린 파일은 write.php밖에 없어요..

이게 왜뜨는건지 다해봤는데 모르겠습니다 ㅠㅠ 도와주세요

글쓰기 작성완료 누르면 올바른 방법으로 이용하십시오.이렇게뜨네요

|

답변 2개 / 댓글 2개

2023-12-18 (월) 16:56:33

스킨을 수정 하셨으면 해당 페이지에 스크립트 에러가 없는지 확인해보세요. 스크립트 에러 때문에 많이 생기게 됩니다. 그게 아니면 페이지나 소스를 보는게 아니면 이유는 알수가 없습니다.

2023-12-18 (월) 16:45:22

form에 보면 그누보드 전용 폼으로 해야되요 

예를들면 form name="fwrite" 이 있어야하고 이부분은 js/common.js 에보면 730번째줄에 있어요 

이거를 응용해서 수정해서 써먹어도 되고 아니면 그냥 name을 fwrite 로 하면되요

아래 코드는 예시에요

Copy
<form name="fwrite" id="fwrite" action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off" style="width:<?php echo $width; ?>">
<input type="hidden" name="uid" value="<?php echo get_uniqid(); ?>">
<input type="hidden" name="w" value="<?php echo $w ?>">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
<input type="hidden" name="sca" value="<?php echo $sca ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="spt" value="<?php echo $spt ?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">


<div class="btn_confirm write_div">
    <a href="<?php echo get_pretty_url($bo_table); ?>" class="btn_cancel btn">취소</a>
    <button type="submit" id="btn_submit" accesskey="s" class="btn_submit btn">작성완료</button>
</div>
</form>

답변에 대한 댓글 2개

이미 제 코드도 이렇게 되어 있는데 그러네요 ㅠㅠ 답변 감사합니다
버전이 최신이나요?

답변을 작성하려면 로그인이 필요합니다.