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!=” )

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容