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

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

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

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

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

相关文章
相关标签/搜索