답변 1개
채택된 답변
+20 포인트
3년 전
list.skin.php 파일 상단에 추가
if ($board['bo_use_category']) {
$categories = explode('|', $board['bo_category_list']);
if ($sca == '') {
goto_url(get_pretty_url($bo_table,'','sca='.urlencode($categories[0])));
}
}
참고 https://gnustudy.com/bbs/board.php?bo_table=skin_board&wr_id=196
로그인 후 평가할 수 있습니다
답변에 대한 댓글 3개
d
designhere
3년 전
우와 작은별님께서 댓글을... 잘려고 했는데 핸드폰으로 답글 확인하고 바로 다시 컴퓨터 앞에 앉았어요.. 해보겠습니다..소중한 답변 감사합니다!!!
d
designhere
3년 전
혹시
<?php
if ($bo_table == 'free' && $board['bo_use_category']) {
$categories = explode('|', $board['bo_category_list']);
if ($sca == '') {
goto_url(G5_BBS_URL.'/board.php?bo_table='.$bo_table."&sca=".urlencode($categories[0]));
}
}
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0);
?>
이렇게 설정하는것이 맞나요? 5.3버전입니다.. 적용이 안되네요 ㅠ
<?php
if ($bo_table == 'free' && $board['bo_use_category']) {
$categories = explode('|', $board['bo_category_list']);
if ($sca == '') {
goto_url(G5_BBS_URL.'/board.php?bo_table='.$bo_table."&sca=".urlencode($categories[0]));
}
}
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0);
?>
이렇게 설정하는것이 맞나요? 5.3버전입니다.. 적용이 안되네요 ㅠ
d
designhere
3년 전
아 해결했습니다 감사합니다!!
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인