0 Comments

织梦channel标签指定了栏目id后,currentstyle属性无效怎么办?

发布于:2019-03-07  |   作者:admin  |   已聚集:人围观
织梦二次开发网站今天在给客户修复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!='' )

标签:(24)(6)
专业承接织梦仿站,织梦模块开发,织梦插件开发,织梦模板定制,网站优化,可联系QQ:
点击这里给我发消息
飞机