최근 게시글 링크 시 제가 원하는 페이지가 안나오고 게시판만 나와요 ㅠㅠ 정보
최근 게시글 링크 시 제가 원하는 페이지가 안나오고 게시판만 나와요 ㅠㅠ본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://lovelyyuna.cafe24.com/
정식 사이트는 test만 하고 있어요.
FTP에는 index.html 하고 test1.html 파일을 넣어놨어요.
index.html 내용
--------------------------------------------------
<?
$g4_path="gnuboard4";
include_once("gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>TEST</title>
</head>
<body>
<?=latest("basic", "board1", 5, 70);?>
</body>
</html>
--------------------------------------------------
test1.html 내용
--------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="50" bgcolor="#CC0033">TEST</td>
</tr>
<tr>
<td><iframe src="http://lovelyyuna.cafe24.com/gnuboard4/bbs/board.php?bo_table=board1" width="100%" height="400" frameborder="0"></iframe></td>
</tr>
</table>
</body>
</html>
----------------------------------------------
index.html에서 최근게시물 나오는 것 까진 성공했는데 저기서 게시판 글을 눌렀을 때
게시판만 뜨고 마는데요.... test1.html 파일처럼 테이블 안에 게시판이 나오게 만들 수는 없을까요?
계속 검색해보고 했는데
그누보드 쪽 글도 검색해봤는데 답변도 왠지 이해가 전혀 안되고..... 워낙 php쪽이나 그누보드쪽 지식이 부족해서 도무지 해결이 안나서
글 올립니다ㅠㅠㅠ고수분들 도와주세요;
오류 주소 : http://lovelyyuna.cafe24.com/
정식 사이트는 test만 하고 있어요.
FTP에는 index.html 하고 test1.html 파일을 넣어놨어요.
index.html 내용
--------------------------------------------------
<?
$g4_path="gnuboard4";
include_once("gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>TEST</title>
</head>
<body>
<?=latest("basic", "board1", 5, 70);?>
</body>
</html>
--------------------------------------------------
test1.html 내용
--------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="50" bgcolor="#CC0033">TEST</td>
</tr>
<tr>
<td><iframe src="http://lovelyyuna.cafe24.com/gnuboard4/bbs/board.php?bo_table=board1" width="100%" height="400" frameborder="0"></iframe></td>
</tr>
</table>
</body>
</html>
----------------------------------------------
index.html에서 최근게시물 나오는 것 까진 성공했는데 저기서 게시판 글을 눌렀을 때
게시판만 뜨고 마는데요.... test1.html 파일처럼 테이블 안에 게시판이 나오게 만들 수는 없을까요?
계속 검색해보고 했는데
그누보드 쪽 글도 검색해봤는데 답변도 왠지 이해가 전혀 안되고..... 워낙 php쪽이나 그누보드쪽 지식이 부족해서 도무지 해결이 안나서
글 올립니다ㅠㅠㅠ고수분들 도와주세요;
댓글 전체
/www/skin/latest/basic/latest.skin.php파일 에서 원하시는 배경이나 이미지 파일로 수정하시면 될듯...
저도 아직 이정도 밖에 수준이 안되서 죄송하네요...ㅠ.ㅠ
저도 아직 이정도 밖에 수준이 안되서 죄송하네요...ㅠ.ㅠ
^^; 답변달아주셔서 감사해요.
저 파일은 그냥 테스트 용으로 만든거라서 꼭 게시판 위에 색깔을 저렇게 넣고 싶다는건 아니었어요;; 오해하신 것 같아서 .. 홈페이지 안에 게시판 삽입된 모양을 만들고 싶었던.. ㅠㅠㅠ아 계속 혼자 소스 파보고 공부하고 검색하고 이러고 있는데 답이 안나오네요 ㅠㅠㅠㅠ
저 파일은 그냥 테스트 용으로 만든거라서 꼭 게시판 위에 색깔을 저렇게 넣고 싶다는건 아니었어요;; 오해하신 것 같아서 .. 홈페이지 안에 게시판 삽입된 모양을 만들고 싶었던.. ㅠㅠㅠ아 계속 혼자 소스 파보고 공부하고 검색하고 이러고 있는데 답이 안나오네요 ㅠㅠㅠㅠ

<iframe src="http://lovelyyuna.cafe24.com/gnuboard4/bbs/board.php?bo_table=board1" width="100%" height="400" frameborder="0"></iframe> 위소스를 testhead.php 아래를 testtail.php로 저장하고 해당게시판 설정에서 head, tail 경로에 파일 적어주세요.
../testhead.php ../testtail.php 경로는 /bbs에서 보는 상대경로입니다.
../testhead.php ../testtail.php 경로는 /bbs에서 보는 상대경로입니다.

test_head.php
-------------------------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="50" bgcolor="#CC0033">TEST</td>
</tr>
<tr>
<td>
-------------------------------------------------------------------------------------------------
test_foot.php
-------------------------------------------------------------------------------------------------
</td>
</tr>
</table>
</body>
</html>
-------------------------------------------------------------------------------------------------
으로 하여서 두 화일을 만드신 후 게시판 관리자 페이지에서 상단 파일 경로에 test_head.php 하단 파일 경로에 test_foot.php를 설정하여주시면 됩니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
뭐 각각 이러한 부분들이 들어가기는해야하지만요. 그리고 test_head부분에는 더 추가적으로 입력해줘야할 경우도 있습니다.
최신게시판에서 해당글을 누르면 해당게시판으로 가는것이라서 해당 게시판에서 각각의 화일을 설정해주셔야합니다.
-------------------------------------------------------------------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="50" bgcolor="#CC0033">TEST</td>
</tr>
<tr>
<td>
-------------------------------------------------------------------------------------------------
test_foot.php
-------------------------------------------------------------------------------------------------
</td>
</tr>
</table>
</body>
</html>
-------------------------------------------------------------------------------------------------
으로 하여서 두 화일을 만드신 후 게시판 관리자 페이지에서 상단 파일 경로에 test_head.php 하단 파일 경로에 test_foot.php를 설정하여주시면 됩니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
뭐 각각 이러한 부분들이 들어가기는해야하지만요. 그리고 test_head부분에는 더 추가적으로 입력해줘야할 경우도 있습니다.
최신게시판에서 해당글을 누르면 해당게시판으로 가는것이라서 해당 게시판에서 각각의 화일을 설정해주셔야합니다.