dedecms织梦channel指定typeid之后,currentstyle无效的解决办法

修改include/taglib/channel.lib.php

查找:

if( ($row['id']==$typeid || ($topid==$row['id'] && $type=='top') ) && $currentstyle!='' )

改成

if( ( $row['id']== $refObj->TypeLink->TypeInfos['id'] || ($topid==$row['id'] && $type=='top') ) && $currentstyle!='' )

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

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