개드립넷과 같은 인기글 시스템은 어떻게 구현 해야할까요? 윤체리 2016.08.25 10:12 859 0 10 http://www.dogdrip.net/?mid=dogdrip&sort_index=popular 게시물 이동이나 복사도 아닌 거 같은데 어떤 방식으로 구현한 걸 까요?
제딴엔 신속히 일주일 안에 XE1.11.6 에서 Rhymix-2.1.35로 3개의 도메인을 성공적으로 잘 이전했다고 생각하고 있었는데 오래된 선우 레이아웃을 서서 만든 홈페이지라그런지... youshine 26.07.27 0 0
이번엔 매뉴얼에서 지시한 대로 xe1 /xe 에 압축된 파일을 풀면 생기는 /rhymix 의 파일들을 다 filezilla 로 에러 하나없이 업로드 시켰는데도 에로가 생기네요... youshine 26.07.24 0 9
Parse error: syntax error, unexpected '?' in /home.youshi5/public_html/Phoenix.kb34.net/common/autoload.php on line89 youshine 26.07.21 0 8
서버 오류 Error #0 "Attempt to modify property "list" on null" in files/cache/menu/780252.php on line 1 톰캣 26.06.29 0 3
댓글 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와 코어 수정을 하여야만 가능할겁니다.
답변 고맙습니다!