게시판수정에서 dhtml사용글작성시 내용이 보이질 않아요. > 그누4 질문답변

그누4 질문답변

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

게시판수정에서 dhtml사용글작성시 내용이 보이질 않아요. 정보

게시판수정에서 dhtml사용글작성시 내용이 보이질 않아요.

본문

오류주소 : p://hanasis.co.kr/gnuboard4/bbs/board.php?bo_table=pos_faq

게시판 목록에서 >> dhtml에디터 사용 테스트입니다. 
요 글 클릭시에 내용이 보이질 않죠? dhtml사용 체크하고 작성할땐 내용이 보이는데
글쓰기 누르고 목록에서 보면 내용이 없습니다.

질답게시판 검색해봐도 찾질 못하겠어요..ㅠ.ㅠ

회원을 받지 않아. 글쓰기 글답변 모두 관리자 외에는 필요가 없구요.
비회원은 글읽기 권한만 있으면 되서요.

도와주세요.
  • 복사

댓글 전체

해당 dhtml - 에디터 사용시엔 글 가져 올때 단순히 wr_content 로 가져 오면 목록에선 보이지 않습니다.
bbs/list.php  파일에서 get_list 부분을 찾으셔서 하단에

$html = 0;
if (strstr($list[$i][wr_option], "html1"))
    $html = 1;
else if (strstr($list[$i][wr_option], "html2"))
    $html = 2;

$list[$i][content] = conv_content($list[$i][wr_content], $html);
if (strstr($sfl, "content"))
    $list[$i][content] = search_font($stx, $list[$i][content]);


이와 같은 코드가 되어 있는지 확인 해 보세요.
get_list 검색하니 두군데 나오는데 어디에다 넣어야하나요? 두군데 모두 위 적어주신 소스는 없네요. 그리고 소스 어디 바로 밑에 넣어야하는지두 부탁드려요.


if (!$sca && !$stx)
{
    $arr_notice = explode("\n", trim($board[bo_notice]));
    for ($k=0; $k<count($arr_notice); $k++)
    {
        if (trim($arr_notice[$k])=='') continue;

        $row = sql_fetch(" select * from $write_table where wr_id = '$arr_notice[$k]' ");

        if (!$row[wr_id]) continue;

        $list[$i] = get_list($row, $board, $board_skin_path, $board[bo_subject_len]);
        $list[$i][is_notice] = true;

$notice_order .= " and wr_id != '$arr_notice[$k]'"; //[2013-04-03] 추가

        $i++;
    }
}


------------------------------------------------------------------

    // 검색일 경우 wr_id만 얻었으므로 다시 한행을 얻는다
    if ($sca || $stx)
        $row = sql_fetch(" select * from $write_table where wr_id = '$row[wr_parent]' ");

    $list[$i] = get_list($row, $board, $board_skin_path, $board[bo_subject_len]);
    if (strstr($sfl, "subject"))
        $list[$i][subject] = search_font($stx, $list[$i][subject]);
    $list[$i][is_notice] = false;
    //$list[$i][num] = number_format($total_count - ($page - 1) * $board[bo_page_rows] - $k);
    $list[$i][num] = $total_count - ($page - 1) * $board[bo_page_rows] - $k;
아니요!! 아니늦었어요.ㅠ.ㅠ
도와주세요.  *** 개인정보보호를 위한 이메일주소 노출방지 *** 부탁드립니다. 감사합니다.
혹시라도 로그인이 안되어있다믄 elnyang23 카톡입니다.
© SIRSOFT
현재 페이지 제일 처음으로