통합게시판을 XE홈페이지의 Lansi님의 통합게시판 만들기 팁에 추천수 조건 추가하여 베스트 게시판 만들기 에서 처럼
추천수 조건으로 게시물을 추출하는 게시판 비슷하게 게시판의 특정 확장변수(다중선택)의 값을 비교하여 일치하는 값을 가진 게시물만
추출하여 게시판을 만들고 싶은데요...
게시판 A
==> 확장변수(다중선택) 값이 "가"가 포함된 게시물만 추출되는 게시판B
==> 확장변수(다중선택) 값이 "나"가 포함된 게시물만 추출되는 게시판C
board.view.php 파일내에서 확장변수 값을 불러와서 일치하는 값을 가진 게시물만 불러오면 될거같은데요...
확장변수 값을 불러오는 방법을 몰라서요
board.view.php에서
// 확장변수 값 비교 이동 소스
if ($this->mid == 'Mobile_receipt')
{
// 확장변수
$args->search_target = 'voted_count'; <===이부분에 확장변수를 불러오고
$args->search_keyword = 10; <====이부분에 비교할 값을 넣으주면 될거같은데... 어떻게 확장변수를 불러와야할지...ㅜㅡ
}
$args->sort_index = Context::get('sort_index');
$args->order_type = Context::get('order_type');
염치불구하고 부탁드리겠습니다... 몇일째 헤매고있어서....눈물이....