d

그누보드 최신글 메인페이지에 리스트 노출

<td width="232">
<img src="images/index_11.gif" width="232" height="98" alt=""></td>
<td colspan="3"><?=latest("main_latest","noticenews",5,10);?>


</td>
<td width="61">
<img src="images/index_13.gif" width="61" height="98" alt=""></td>
<td colspan="4"><?=latest("main_latest","board",5,10);?>
</td>
<td width="56">
<img src="images/index_15.gif" width="56" height="98" alt=""></td>
</tr>
<tr>


홈페이지 메인에 그누보드의 글을 추출하려고 합니다.

위와같은 방법으로 되어있으며
첨부된 파일의 최신글 스킨을 적용하고자

최신글스킨을 FTP /www/gnuboard4/skin/latest 에 업로드하였습니다.
왜안나오는걸까요 열나게..

첨부파일

main_latest+.zip (6.2 KB) 29회 2013-03-29 16:47
|

댓글 4개

FTP /www/gnuboard4/skin/latest 에 main_latest란 스킨폴더 업로드하세요
그리고 <?=latest("main_latest","board",5,10);?> 소스 잇는 곳에는
include_once("$g4[path]/lib/latest.lib.php");
함수가 있어야합니다. 없으면 출력 안됩니다.
메인페이지 상단에
<? include_once(G4_LIB_PATH.'/latest.lib.php'); ?>
요넘이 들어 있는지요?
답변너무감사드립니다.

<td colspan="3"><?=latest("main_latest","noticenews",5,10);?>
<?include_once("$g4[path]/lib/latest.lib.php");
?>
</td>
<td width="61">
<img src="images/index_13.gif" width="61" height="98" alt=""></td>
<td colspan="4"><?=latest("main_latest","board",5,10);?> <?include_once("$g4[path]/lib/latest.lib.php");
;?>
</td>

위에처럼 햇는데요 아직 Fatal error: Call to undefined function latest() in /home/hosting_users/naturee2/www/index.html on line 35
이러한 오류가 뭐가문제이예여.......... ㅜ
<?include_once("$g4[path]/lib/latest.lib.php"); ?>
아것을 해당화일 상단에 넣으세요
즉 <?=latest(~~)?> 보다 먼저 나와야죠
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
13-03-29 조회 1,773
13-03-29 조회 1,197
13-03-29 조회 2,260
13-03-29 조회 1,643
13-03-29 조회 1,675
13-03-29 조회 1,071
13-03-29 조회 1,089
13-03-29 조회 3,792
13-03-29 조회 1,184
13-03-29 조회 1,691
13-03-29 조회 1,083
13-03-29 조회 1,685
13-03-29 조회 2,771
13-03-29 조회 1,659
13-03-29 조회 1,075
13-03-29 조회 1,565
13-03-29 조회 860
13-03-29 조회 1,829
13-03-29 조회 1,299
13-03-28 조회 1,662