打开 /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);
替换完成之后便可以在搜索页面调用灵动标签、万能标签了。
下一篇:返回列表