打开 /e/search/result/index.php 文件
查找
require("../../class/connect.php"); require("../../class/db_sql.php"); require("../../data/dbcache/class.php"); require("../../class/q_functions.php"); require "../".LoadLang("pub/fun.php");
修改为:
require('../../class/connect.php'); require('../../class/db_sql.php'); require('../../class/functions.php'); require('../../class/t_functions.php'); require('../../data/dbcache/class.php'); require "../".LoadLang("pub/fun.php");
再查找
//替换公共模板变量 $listtemp=$tempr[temptext];
在上面添加如下代码
//页面支持标签 $tempr[temptext]=DtNewsBq('list'.$tempid,$tempr[temptext],0);
声明:有的资源均来自网络转载,版权归原作者所有,如有侵犯到您的权益 请联系邮箱:312334557@qq.com 我们将配合处理!
原文地址:《帝国cms搜索模板支持灵动标签和万能标签(支持到7.5)》发布于2020-06-28 22:28:52