DedeCMS 标签arclist封面页调用交叉栏目
 
include/taglib/arclist.lib.php 
 
198行左右找到 
 
if($CrossID=='') $orwheres[] = ' arc.typeid in ('.GetSonIds($typeid).')'; 
else $orwheres[] = ' arc.typeid in ('.GetSonIds($typeid).','.$CrossID.')'; 
 
改为 
 
if($CrossID=='') $orwheres[] = ' arc.typeid in ('.GetSonIds($typeid).') or arc.typeid2 in ('.GetSonIds($typeid).')'; //封面页调取交叉栏目 by Tony 9-27 
else $orwheres[] = ' arc.typeid in ('.GetSonIds($typeid).','.$CrossID.') or arc.typeid2 in ('.GetSonIds($typeid).','.$CrossID.')';

发表评论

后才能评论