第1步:打开 /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");
第2步:再查找
//替换公共模板变量
$listtemp=$tempr[temptext];
在此段代码上面添加如下代码
//页面支持标签
$tempr[temptext]=DtNewsBq('list'.$tempid,$tempr[temptext],0);
现在大功告成了,再去搜索页搜索一下,看看灵动标签已经调用出所有的内容了!
如果还不明白,我用下面的图给你标出来给大家!