admin 发表于 2014-2-19 14:56:09

帝国cms搜索页面支持标签

修改 e/search/result/index.php
头部引用

原:
<?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");

修改为: <?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");
查找//替换公共模板变量在上面增加: //页面支持标签
$tempr['temptext']=DtNewsBq('search-' . $search_r['tempid'],$tempr['temptext'],0);
这样搜索页面就可以支持标签使用 。

页: [1]
查看完整版本: 帝国cms搜索页面支持标签