打开文件:include/arc.searchview.class.PHP
找到:
require_once(DEDEINC."/taglib/hotwords.lib.PHP");
在下面添加:
PHP">require_once(DEDEINC."/taglib/channel.lib.PHP"); require_once(DEDEINC."/taglib/arclist.lib.PHP"); require_once(DEDEINC."/taglib/channelartlist.lib.PHP"); require_once(DEDEINC."/taglib/myad.lib.PHP"); require_once(DEDEINC."/taglib/PHP.lib.PHP"); require_once(DEDEINC."/taglib/sql.lib.PHP");
然后找到:
dtp->Assign($tagid,lib_hotwords($ctag,$this)); }
在下面添加:
dtp->Assign($tagid,lib_arclist($ctag,$this)); } else if($tagname=="channelartlist") { $this->dtp->Assign($tagid,lib_channelartlist($ctag,$this)); } else if($tagname=="myad") { $this->dtp->Assign($tagid,lib_myad($ctag,$this)); } else if($tagname=="PHP") { $this->dtp->Assign($tagid,lib_PHP($ctag,$this)); } else if($tagname=="sql") { $this->dtp->Assign($tagid,lib_sql($ctag,$this)); }
包括{dede:arclist} {/dede:arclist}、{dede: channelartlist } {/dede: channelartlist}、{dede: myad } {/dede: myad }、{dede: PHP } {/dede: PHP }、{dede: sql } {/dede: sql }
原文链接:https://www.f2er.com/dedecms/403796.html