26.09.29
0
조회 209
26.09.26
1
조회 165
26.09.24
0
조회 197
26.09.23
0
조회 199
26.09.19
0
조회 517
26.09.11
0
조회 154
26.09.10
0
조회 153
26.09.10
0
조회 152
26.09.10
0
조회 120
26.09.10
0
조회 104
26.09.09
1
조회 107
26.09.04
0
조회 507
26.09.03
0
조회 343
26.09.01
1
조회 141
26.08.29
0
조회 185
26.08.22
0
조회 299
26.08.20
0
조회 329
26.08.13
0
조회 320
26.08.13
0
조회 371
26.08.13
0
조회 214
댓글 10
// if the category is enabled, then get the category
if($this->module_info->use_category=='Y')
{
$args->category_srl = Context::get('category');
}
// setup the sort index and order index
$args->sort_index = Context::get('sort_index');
$args->order_type = Context::get('order_type');
// !!!S
if ($args->sort_index == 'best')
{
// 추천수 3이상
$args->search_target = 'voted_count';
$args->search_keyword = 3;
}
// !!!E
if(!in_array($args->sort_index, $this->order_target))
{
$args->sort_index = $this->module_info->order_target?$this->module_info->order_target:'list_order';
}
ctrl + F로
// setup the sort index and order index
$args->sort_index = Context::get('sort_index');
$args->order_type = Context::get('order_type');
있는부분 찾아서 바로 아래에다 넣으면 됩니다
추가하는 부분은 // !!!S 과 // !!!E 사이 값입니다
자꾸 질문드리기 죄송하지만
게시판엔 어떤식으로 추가하면 될까요?
http://dnip.co.kr/index.php?mid=bgmstorage&sort_index=best
위 주소 형식으로 하시면 될겁니다
정말 감사합니다. 좋은 밤되세요!
xe 자체에서 추천+비추천 값을 저장하지 않기 때문에 위와 같은 방법으론 불가능합니다.
따로 db와 코어 수정을 하여야만 가능할겁니다.
답변 고맙습니다!