Skip to main content
 Web开发网 » 站长学院 » 织梦教程

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

2020年09月12日7170百度已收录

解决办法:

修改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!='' )


 

评论列表暂无评论
发表评论
微信