修改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!=''
修改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!='' )
笔者经测试这种调用方式currentstyle有效,可以解决解决channel标签currentstyle样式无效不起作用的问题。
发表评论