# 帝国cms二次开发如何让搜索页支持php和动态标签代码

*Published:* 2023-12-07
*Author:* 客服001

#### 温馨提醒

如果文章内容或图片资源失效，请留言反馈，我们会及时处理，谢谢

本文最后更新于2023年12月7日，已超过 180天没有更新



找到 /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('list'.$tempid,$tempr[temptext],0);
```