萬盛學電腦網

 萬盛學電腦網 >> CMS教程 >> dedecms系統channel指定id後,無效當前樣式current

dedecms系統channel指定id後,無效當前樣式current

class="area"> 解決辦法:

修改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!='' )
copyright © 萬盛學電腦網 all rights reserved