要修改的文件:include/taglib/arclist.lib.php
267行:
if($ctag->GetAtt('cross')=='1')
改成
if($ctag->GetAtt('cross')!='0')
if($ctag->GetAtt('cross')=='1')
改成
if($ctag->GetAtt('cross')!='0')
282行:
if($arr['crossid']!='') $selquery = "SELECT id,topid FROM `dede_arctype` WHERE id IN('{$arr['crossid']}') AND id<>'{$typeid}' AND topid<>'{$typeid}' ";
改成
if($arr['crossid']!='') $selquery = "SELECT id,topid FROM `dede_arctype` WHERE id IN({$arr['crossid']}) AND id<>'{$typeid}' AND topid<>'{$typeid}' ";
if($arr['crossid']!='') $selquery = "SELECT id,topid FROM `dede_arctype` WHERE id IN('{$arr['crossid']}') AND id<>'{$typeid}' AND topid<>'{$typeid}' ";
改成
if($arr['crossid']!='') $selquery = "SELECT id,topid FROM `dede_arctype` WHERE id IN({$arr['crossid']}) AND id<>'{$typeid}' AND topid<>'{$typeid}' ";
OK,在栏目里面设置好要交叉的即可。
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!