美文网首页
解决channel标签currentstyle样式无效不起作用的

解决channel标签currentstyle样式无效不起作用的

作者: 阿修哥 | 来源:发表于2017-12-29 16:53 被阅读20次

解决channel标签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!='' )

相关文章

网友评论

      本文标题:解决channel标签currentstyle样式无效不起作用的

      本文链接:https://www.haomeiwen.com/subject/sxfwgxtx.html