帝国cms信息列表分页的URL修改方法之去掉下划线
例如把http://www.daixiao360.cn/sfmb/index_2.html改成2.html或者index-2.html,不要下划线。解决方法如下:1. 改e/class/functions.php里带有index_的字符串2. 改e/class/t_functions.php里sys_ShowListPage、sys_Show……
例如把http://www.daixiao360.cn/sfmb/index_2.html改成2.html或者index-2.html,不要下划线。
解决方法如下:
1. 改e/class/functions.php里带有index_的字符串
2. 改e/class/t_functions.php里sys_ShowListPage、sys_ShowListMorePage、sys_ShowTextPage、sys_ShowTextPageSelect函数中的'_'字符串注意一定是改字符串,不要改函数名,有很多函数名中带有下划线
- 上一篇
介绍下帝国CMS列表页模板调用TAG的两种方法
方法一:$tagstr='';$tsql=$empire->query("select tagid from {$dbtbpre}enewstagsdata where id='$r[id]' and classid='$r[classid]' ");while($tr=$empire->fetch($tsql)){$tt=$empire->fetch1("select *
- 下一篇
帝国cms如何在tags列表页获取当前tag的ID方法
在tags列表页获取当前tag的ID方法一:在动态页面中使用<?=intval($_GET['tagid'])?>在tags列表页获取当前tag的ID方法二:1、编辑etagsindex.php,找到 $listtemp=str_replace('[!--newsnav--]',$url,$listtem