打开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
));
}
保存,这样就可以在搜索页面里面调用arclist、channelartlist等标签了 。。小伙伴们快来试一下吧。。