织梦CMS使用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!='' )