原文来自:https://www.zixuephp.com
dede搜索页面不能使用arclist等标签解决办法
dede模板搜索页search.php支持arclist和channelartlist标签调用
打开include/arc.searchview.class.php.
- //查找:
- require_once(DEDEINC.”/taglib/hotwords.lib.php”);
- require_once(DEDEINC.”/taglib/channel.lib.php”);
- //下面插入
- require_once(DEDEINC.”/taglib/arclist.lib.php”);
- require_once(DEDEINC.”/taglib/channelartlist.lib.php”);
- //phpfensi.com
- //查找
- elseif($tagname==”hotwords”)
- {
- $this->dtp->Assign($tagid,lib_hotwords($ctag,$this));
- }
- //下面插入
- elseif($tagname==”arclist”)
- {
- $this->dtp->Assign($tagid,lib_arclist($ctag,$this));
- }
- elseif($tagname==”channelartlist”)
- {
- $this->dtp->Assign($tagid,lib_channelartlist($ctag,$this));
- }