织梦二次开发网站今天在给客户修复bug的过程中发现织梦channel标签在指定typeid之后,currentstyle属性没有作用了,现在给出以下解决方案
找到/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!='' )
织梦channel标签指定了栏目id后,currentstyle属性无效怎么办?
织梦二次开发网站今天在给客户修复bug的过程中发现织梦channel标签在指定typeid之后,currentstyle属性没有作用了,现在给出以下解决方案 找到/include/taglib/channel.lib.php文件第133行 if( ($row[id]==$typeid || ($topid==$row[id] $type==top) ) $cur
本文来自网络,不代表站长网立场,转载请注明出处:https://www.tzzz.com.cn/html/jianzhan/jy/2021/1222/41852.html