dede currentstyle属性完美解决方案

2019-01-10 14:22:33刘景俊

笔者经测试这种调用方式currentstyle根本是无效的,简直是无稽之谈。

2、解决channel标签currentstyle样式无效不起作用的正确方法

修改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!='' )

笔者经测试这种调用方式currentstyle有效,可以解决解决channel标签currentstyle样式无效不起作用的问题。

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持易采站长站。