dede:channel二级导航currentstyle属性失效问题

dede:channel默认只作用在一级导航中,在调用下级导航(type='son')时,发现不起作用。

修改方法:修改 include/taglib/channel.lib.php

第133行。if( ($row['id']==$typeid || ($topid==$row['id'] && $type=='top') ) && $currentstyle!='' )

改为: if( ($row['id']==$refObj->TypeLink->TypeInfos['id'] || ($topid==$row['id'] && $type=='top') ) && $currentstyle!='' )

 

posted @ 2019-03-02 16:54  Ann丶  阅读(356)  评论(0编辑  收藏  举报