답변 1개 / 댓글 3개
채택된 답변
+20 포인트
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개
혹시
<?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버전입니다.. 적용이 안되네요 ㅠ
답변을 작성하려면 로그인이 필요합니다.