Warning: Undefined array key "night" in /www/wwwroot/dhaomu.com/wp-content/themes/b2/header.php on line 18

织梦搜索结果增加dede:type标签支持

dedecms教程:织梦教程搜索结果增加dede:type标签支持!织梦搜索结果增加dede:type标签支持。

织梦搜索结果增加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));
}
温馨提示:
1.本站大部分内容均收集于网络!若内容若侵犯到您的权益,请发送邮件至:duhaomu@163.com,我们将第一时间处理!
2.资源所需价格并非资源售卖价格,是收集、整理、编辑详情以及本站运营的适当补贴,并且本站不提供任何免费技术支持。
3.所有资源仅限于参考和学习,版权归原作者所有,更多请阅读网站声明

给TA赞赏
共{{data.count}}人
人已赞赏
编程技巧

Discuz如何把导航修改成100%显示?

2020-11-11 0:00:00

编程技巧

织梦栏目伪静态后仍然自动生成空文件夹的解决方法

2020-11-13 0:00:00

0 条回复 A文章作者 M管理员

Warning: Trying to access array offset on value of type null in /www/wwwroot/dhaomu.com/wp-content/themes/b2/functions.php on line 3914

Warning: Trying to access array offset on value of type null in /www/wwwroot/dhaomu.com/wp-content/themes/b2/functions.php on line 3914
----《》
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索