게시판 브라우저 타이틀 수정방법 좀 알려주세요~ 채택완료
안녕하세요 그누보드 초보자입니다 ㅎㅎ
http://sir.kr/data/editor/1608/d2c1d7dfa9a936353cf9aa563b532eca_1471998924_8671.gif">
브라우저에 타이틀에 위처럼 공지사항 1 페이지 | OOO
이렇게 나오는 부분에서 [ 공지사항 1 페이지 | ] 이 부분을 삭제하려고 합니당
board.php에서 174번째 줄에
$g5['title'] = ((G5_IS_MOBILE && $board['bo_mobile_subject']) ? $board['bo_mobile_subject'] : $board['bo_subject']).' '.$page.' 페이지'; }
이 부분을 어떻게 수정해야할까요..
또 head.sub.php의 19번째 줄에
if (!isset($g5['title'])) { $g5['title'] = $config['cf_title']; $g5_head_title = $g5['title']; } else { $g5_head_title = $g5['title']; // 상태바에 표시될 제목 $g5_head_title .= " | ".$config['cf_title']; }
| <- 이 부분을 삭제했는데 안됩니당 어떻게 수정해야 제가 원하는 대로 뜰 수 있을까요 ㅠㅠ!
답변 3개
그냥 해당 부분 앞쪽에 // 를 넣어서 주석 처리하면 됩니다.
// $g5['title'] = ((G5_IS_MOBILE && $board['bo_mobile_subject']) ? $board['bo_mobile_subject'] : $board['bo_subject']).' '.$page.' 페이지';
댓글을 작성하려면 로그인이 필요합니다.
bbs/board.php
</p><p><span style="font-size: 14.6667px;">$g5['title'] = strip_tags(conv_subject($write['wr_subject'], 255))." > ".((G5_IS_MOBILE && $board['bo_mobile_subject']) ? $board['bo_mobile_subject'] : $board['bo_subject']);</span> </p><p><span style="font-size: 14.6667px;">
해당부분 아래와같이
</span> </p><p>$g5['title'] = ((G5_IS_MOBILE && $board['bo_mobile_subject']) ? $board['bo_mobile_subject'] : $board['bo_subject']);</p><p><span style="font-size: 14.6667px; line-height: 22.0001px;">
----------------------------------------------------------------------------------
</span> </p><p>$g5['title'] = ((G5_IS_MOBILE && $board['bo_mobile_subject']) ? $board['bo_mobile_subject'] : $board['bo_subject']).' '.$page.' 페이지';</p><p><span style="font-size: 14.6667px; line-height: 22.0001px;">
해당부분 아래와같이
</span><span style="font-size: 14.6667px;"> </span></p><p>$g5['title'] = ((G5_IS_MOBILE && $board['bo_mobile_subject']) ? $board['bo_mobile_subject'] : $board['bo_subject']);</p><p><span style="font-size: 14.6667px; line-height: 22.0001px;">
bbs/write.php
</span> </p><p>$g5['title'] = ((G5_IS_MOBILE && $board['bo_mobile_subject']) ? $board['bo_mobile_subject'] : $board['bo_subject']).' '.$title_msg;</p><p><span style="font-size: 14.6667px; line-height: 22.0001px;">
해당부분 아래와같이
</span></p><p>$g5['title'] = ((G5_IS_MOBILE && $board['bo_mobile_subject']) ? $board['bo_mobile_subject'] : $board['bo_subject']);</p><p><span style="font-size: 14.6667px; line-height: 22.0001px;">
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인