달력스킨에 대하여..... 정보
달력스킨에 대하여.....본문
안녕하세요
달력스킨을 사용하다 보니 에러가 발생합니다.
<? echo latest_schedule("calendar","calendar"); ?> 103라인인데
디비도 calendar로 했는데
해결책이 있는데 안되요
많은 부탁드립니다.
댓글 전체
해당 함수를 호출하지 못해서 발생하는 에러 입니다.
1. ./lib/latest.lib.php 파일을 열어서 맨아래에 다음을 추가한다.
//=============================================================
function latest_schedule($skin_dir='', $bo_table)
{
global $config;
global $g4;
global $year, $month;
// 스킨디렉토리값이 넘어왔다면
if ($skin_dir) {
$latest_skin_path = "./$g4[path]/skin/latest/$skin_dir";
}
$write_table = $g4[write_prefix] . $bo_table;
ob_start();
include "$latest_skin_path/latest.skin.php";
$content = ob_get_contents();
ob_end_clean();
return $content;
}
//==============================================================
1. ./lib/latest.lib.php 파일을 열어서 맨아래에 다음을 추가한다.
//=============================================================
function latest_schedule($skin_dir='', $bo_table)
{
global $config;
global $g4;
global $year, $month;
// 스킨디렉토리값이 넘어왔다면
if ($skin_dir) {
$latest_skin_path = "./$g4[path]/skin/latest/$skin_dir";
}
$write_table = $g4[write_prefix] . $bo_table;
ob_start();
include "$latest_skin_path/latest.skin.php";
$content = ob_get_contents();
ob_end_clean();
return $content;
}
//==============================================================
감사합니다.
늘 좋은 답변에 감사드립니다.
명쾌한 답변에 감사드리며 좋은 하루가 되세요....
늘 좋은 답변에 감사드립니다.
명쾌한 답변에 감사드리며 좋은 하루가 되세요....