Dede5.6封面模板显示副栏目文章的解决方法

解决Dede5.6封面模板显示副栏目文章的方法

修改文件/include/taglib/arclist.lib.php第211行左右 

或者搜索 
if($CrossID=='') $orwheres[] = ' arc.typeid in ('.GetSonIds($typeid).')'; 
else $orwheres[] = ' arc.typeid in ('.GetSonIds($typeid).','.$CrossID.')'; 

改成 

if($CrossID=='') $orwheres[] = ' typeid in ('.GetSonIds($typeid).') or typeid2 in ('.GetSonIds($typeid).')'; 
else $orwheres[] = ' typeid in ('.GetSonIds($typeid).','.$CrossID.') or typeid2 in ('.GetSonIds($typeid).','.$CrossID.')'