經過測試,針對7.2版本的方法,在7.5版本中仍然可用:
打開 /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);
本文標籤:帝國CMS
轉載請務必註明 作者:logo880
出處:http://www.logo880.cn/brandall.asp?id=926