오

<급질입니다> head.php 설절부분좀 알려주세요

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 : http://www.thairo.co.kr/bbs/register.php
http://www.thairo.co.kr/bbs/login.php?url=/bbs/register.php

위의 주소를 보시면 아시겠지만 HEAD.PHP 를 불러 오는데 왼쪽 메뉴가 없는
head_noleft 새로운 head.php를 불러오고 싶습니다.

register.php 소스를 어떻게 수정해야 하는지 모르겠네요...
고수님들 답변 부탁 드립니다.


꾸벅

댓글 5개

bbs/_head.php 부분을 수정하세요
head.php를 복사하여 head_noleft.php를 새로 만들고 루트에 올립니다.
head_noleft에는 왼쪽메뉴를 인클루드하는 부분을 빼셔야겠지요.
register.php 를 보시면 include_once("./_head.php"); 이런식으로 기본값을 인클루드할테니
이부분을 include_once("./head_noleft.php"); 이렇게 변경하시면 됩니다.
말씀해주신대로 register.php 에서 위의 소스를 아래와 같이 수정하였으나
Warning: main(./head_noleft.php): failed to open stream: No such file or directory in /home/hosting_users/parkhan6/www/bbs/register.php on line 14

Warning: main(): Failed opening './head_noleft.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/parkhan6/www/bbs/register.php on line 14

이런 에러메세지가 나옵니다ㅡㅡ;

수정한 소스는 아래와 같습니다.

include_once("./head_noleft.php");
include_once("$member_skin_path/register.skin.php");
include_once("./_tail.php");
아..좀더 생각좀하면서 답변을 드렸어야하는데 ;;
include_once("$g4[path]/head_noleft.php");
이렇게 해보세요.
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
07-12-10 조회 1,593
07-12-10 조회 1,582
07-12-10 조회 1,521
07-12-10 조회 1,706
07-12-09 조회 1,632
07-12-09 조회 1,384
07-12-09 조회 1,640
07-12-09 조회 1,748
07-12-09 조회 1,674
07-12-09 조회 1,515
07-12-09 조회 1,368
07-12-09 조회 1,602
07-12-09 조회 1,715
07-12-08 조회 1,618
07-12-08 조회 1,588
07-12-08 조회 1,623
07-12-08 조회 1,567
07-12-08 조회 1,720
07-12-08 조회 1,614
07-12-08 조회 1,597