DedeCMS 标签arclist封面页调用交叉栏目

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.')';

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/c7b1e372513b45ad02bae006030a9dfc.html