DEDE的搜索页面支持调用dede标签arclist,channelartlist方法

来源: www.luyouqiwo.com| 2017-02-22 12:21
下边我们来介绍一下如何在搜索页支持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");
查找
else if($tagname=="hotwords")
{
$this->dtp->Assign($tagid,lib_hotwords($ctag,$this));
}
 
下面插入
 
else if($tagname=="arclist")
{
$this->dtp->Assign($tagid,lib_arclist($ctag,$this));
}
else if($tagname=="channelartlist")
{
$this->dtp->Assign($tagid,lib_channelartlist($ctag,$this));
}

猜你喜欢
推荐
随机推荐
相关文档
Top