解决DedeCMS 5.6封面模板显示副栏目文章的方法

2010-09-03 14:14:58来源:作者:

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

修改文件/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.')';

是按5.3的改成的....
关键词:dedecmscms

赞助商链接:

博聚网