최신 추출 게시판에서 다른페이지로 링크 정보
최신 추출 게시판에서 다른페이지로 링크본문
첫 페이지(main.html)에 최신 게시물을 아래와 같이 추출했구여.
file: main.html
... <?
... $g4_path='./gnuboard4'; //추가
... include_once("./gnuboard4/common.php"); // _common 이 아닌 common
... include_once("$g4[path]/lib/latest.lib.php");
... ?>
... <?
... echo latest("basic", "board_notics", 3, 50);
... ?>
file: board_1_page.html
안에
... <iframe src="http://[도메인명]/gnuboard4/bbs/board.php?bo_table=board_notics" width="707" height="594" name="mainframe" frameborder="0"></iframe>...
으로 아이프레임으로 board_notics 게시판을 넣었습니다.
질문)
두 페이지는 만들었는데,
main.html의 추출된 최신 게시물중 하나를 클릭하면
board_1_page.html 페이지가 target="_top"으로 뜨면서
아이프레임 안에 클릭한 해당 내용이 상세로 보여지도록 하려면
어느부분을 어떻게 수정해야 하나요?
일반적인 링크인것 같은데... 초보라서...
고수님들의 자세한 설명 부탁 드립니다.
즐거운 하루 되세요...
file: main.html
... <?
... $g4_path='./gnuboard4'; //추가
... include_once("./gnuboard4/common.php"); // _common 이 아닌 common
... include_once("$g4[path]/lib/latest.lib.php");
... ?>
... <?
... echo latest("basic", "board_notics", 3, 50);
... ?>
file: board_1_page.html
안에
... <iframe src="http://[도메인명]/gnuboard4/bbs/board.php?bo_table=board_notics" width="707" height="594" name="mainframe" frameborder="0"></iframe>...
으로 아이프레임으로 board_notics 게시판을 넣었습니다.
질문)
두 페이지는 만들었는데,
main.html의 추출된 최신 게시물중 하나를 클릭하면
board_1_page.html 페이지가 target="_top"으로 뜨면서
아이프레임 안에 클릭한 해당 내용이 상세로 보여지도록 하려면
어느부분을 어떻게 수정해야 하나요?
일반적인 링크인것 같은데... 초보라서...
고수님들의 자세한 설명 부탁 드립니다.
즐거운 하루 되세요...
댓글 전체
일단은 사용하신 최근게시물의 basic스킨 폴더 안에 latest.skin.php 파일에서 수정하셔야 합니다.
그렇군요!... 근데, 어느부분을 수정해야 하나요? 찾아봐도 링크 이동 관련 내용이 없어서....