织梦搜索结果增加dede:type标签支持,打开 include/arc.searchview.class.php 找到
require_once(DEDEINC."/taglib/channel.lib.php");
在它的下面加入
require_once(DEDEINC."/taglib/type.lib.php");
继续找到
else if($tagname=="hotwords")
{
$this->dtp->Assign($tagid,lib_hotwords($ctag,$this));
}
大概在540行,在它的下面加入
else if($tagname=="arclist"){$this->dtp->Assign($tagid,lib_arclist($ctag,$this));}else if($tagname=="channelartlist"){$this->dtp->Assign($tagid,lib_channelartlist($ctag,$this));}else if($tagname=="tag"){$this->dtp->Assign($tagid,lib_tag($ctag,$this));} |