找到 /e/search/result/index.php 文件
在下面找到 require("../../class/q_functions.php"); 替换为 require('../../class/functions.php'); require('../../class/t_functions.php');
继续找到 $listtemp=$tempr[temptext];
在上面增加 $tempr[temptext]=DtNewsBq('listsearch'.$search_r['tempid'],$tempr[temptext],0);//替换公共模板变量
这句已经过时了,使用这句会导致无法使用2个搜索页模板 $tempr[temptext]=DtNewsBq('list'.$tempid,$tempr[temptext],0);
修改完成 现在试试 搜索页模板里可以使用标签了php代码了
|