최근게시물 에러납니다~~ 정보
최근게시물 에러납니다~~본문
폴더구조
------------------------------------------
[F]bbs/(그누보드)
------------------------------------------
[F]html/ _common.php
index.html
.......
.......
------------------------------------------
index.html (html/index.html파일로 이동)
------------------------------------------
위의 이런구조로 되있습니다[F]는 폴더구여
우선 html/index.html 상단삽입.
<?
include "_common.php";
?>
출력부분 <? latest("basic", notice, 12, 70); ?>
basic스킨의 notice게시판 출력하려고 한겁니다
-----------------------------------------------
"_common.php" 내용
<?
$g4_path = "../bbs"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
이런 구조로되있는데 오류가나네요^^
한참 찾다가 안되서 질문올리게되네요~(전엔 했었는데;;)
답변 부탁드립니다
사이트주소 : http://bellsante.cafe24.com/html/
------------------------------------------
[F]bbs/(그누보드)
------------------------------------------
[F]html/ _common.php
index.html
.......
.......
------------------------------------------
index.html (html/index.html파일로 이동)
------------------------------------------
위의 이런구조로 되있습니다[F]는 폴더구여
우선 html/index.html 상단삽입.
<?
include "_common.php";
?>
출력부분 <? latest("basic", notice, 12, 70); ?>
basic스킨의 notice게시판 출력하려고 한겁니다
-----------------------------------------------
"_common.php" 내용
<?
$g4_path = "../bbs"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
이런 구조로되있는데 오류가나네요^^
한참 찾다가 안되서 질문올리게되네요~(전엔 했었는데;;)
답변 부탁드립니다
사이트주소 : http://bellsante.cafe24.com/html/
댓글 전체
html 파일로 하셨으면, php 파일로 해보세요
최근게시물 스킨을 사용하기 위해서는 lib파일이 따로 있습니다.
설치/운영매뉴얼 읽어보세용
설치/운영매뉴얼 읽어보세용
아, 이거 빠뜨리셨나
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
현재 include_once("$g4[path]/lib/outlogin.lib.php"); 이것 뿐이네요
이것은 외부로그인에 필요한 lib파일입니다.
include_once("$g4[path]/lib/latest.lib.php");
이것을 추가해보세요
다만 lib폴드에 위 파일이 있어야 합니다.
이것은 외부로그인에 필요한 lib파일입니다.
include_once("$g4[path]/lib/latest.lib.php");
이것을 추가해보세요
다만 lib폴드에 위 파일이 있어야 합니다.
include_once("$g4[path]/lib/latest.lib.php");
이거 추가하니까 되네요~
골든님 귀차나님 답변 감사드립니다^^
이거 추가하니까 되네요~
골든님 귀차나님 답변 감사드립니다^^