网站优化

织梦cmsdedecms让channelartlist标识里的channel适用cur

作者:admin 发布时间:2021-03-28
开启 /include/taglib/channelartlist.lib.php 寻找 $pv-Fields[typeurl] = GetOneTypeUrlA($typeids[$i]); 大概在93行,在它下边加上 if($typeids[$i][id] == $refObj-TypeLink-TypeInfos[id] || $typeids[$i][id] == $refObj-TypeLink-TypeIn...
if($typeids[$i][ id ] == $refObj- TypeLink- TypeInfos[ id ] || $typeids[$i][ id ] == $refObj- TypeLink- TypeInfos[ reid ] || $typeids[$i][ id ] == $refObj- TypeLink- TypeInfos[ topid ] || $typeids[$i][ id ] == GetTopid($refObj- TypeLink- TypeInfos[ id ]) )
 $pv- Fields[ currentstyle ] = $currentstyle ? $currentstyle : current 
 $pv- Fields[ currentstyle ] = 
}

织梦cms标识channelartlist默认设置不是适用双层嵌套循环后应用currentstyle高亮度,改动一个文档能够完成,模版里启用编码:里边的hover便是你的高亮度款式,

收缩