mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
#1128 통합 검색에서 엮인 글 모듈 유무에 따라 표시 조절
https://github.com/xpressengine/xe-core/issues/1128 엮인글 모듈이 없는 경우, 엮인글과 관련된 링크를 감춥니다.
This commit is contained in:
parent
c5893358d5
commit
6a77438077
3 changed files with 42 additions and 33 deletions
|
|
@ -83,6 +83,13 @@ class integration_searchView extends integration_search
|
|||
if($is_keyword)
|
||||
{
|
||||
$oIS = getModel('integration_search');
|
||||
$oTrackbackModel = getAdminModel('trackback');
|
||||
Context::set('trackback_module_exist', true);
|
||||
if(!$oTrackbackModel)
|
||||
{
|
||||
Context::set('trackback_module_exist', false);
|
||||
}
|
||||
|
||||
switch($where)
|
||||
{
|
||||
case 'document' :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue