帝国cms推荐资讯 帝国cms二次开发搜索页支持php和动态标签代码

帝国CMS教程

帝国cms动态页面默认是不支持标签语法的,所以在制作搜索、留言等页面的时候需要改动下才行。

帝国cms二次开发教程

找到/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);

修改完成 现在试试 搜索页模板里可以使用标签了php代码了