
-
帝国教程
帝国默认的编辑器有完整版和简洁版,但是有时候简洁版里想再加上完整版里的一些按钮,或者完整版里删去不想要的按钮 解决办法: 修改路径文件:e/data/ecmseditor/infoeditor/fckconfig.j...
58

-
帝国教程
?php$randnum=10; //随机数量$randids='';$randdh='';for($i=1;$i=$randnum;$i++){$randids.=$randdh.rand(5000,10000); //1为最小ID,100000为最大ID$randdh=',';}?[ecmsinfo]0,4,44,0,3,34,0,'','id in ('.$randids.')'[/ecmsinfo]...
144

-
帝国教程
?php$sl=empty($navinfor[morepic])?0:count(explode(chr(13),$navinfor[morepic]));echo $sl;?...
150

-
帝国教程
我们做单页(比如公司介绍、联系我们等页面)时一般采用自定义页面来做,而调用出自定义页面导航可以用标签SQL调用。如下: 例子1:调用自定义页面分类ID=1的页面导航 [e:loop={'selec...
91

-
帝国教程
1、修改文件 etemplatememberAddMsg.php 找到 require(ECMS_PATH.'e/template/incfile/header.php'); 在其下插入代码: include('../../../data/ecmseditor/infoeditor/fckeditor.php'); 找到默认的文本框代码 textarea name="msgte...
63

-
帝国教程
帝国CMS默认的tag伪静态方法是tagname方式的,那么怎么实现以tagid来实现tag的伪静态呢? 第一步:修改 eclassconnect.php文件 搜索function eReturnRewriteTagsUrl($tagid,$tagname,$ecms=0){找到函数eReturnR...
141

-
帝国教程
我的网站用的帝国系统,但是我在给某个文章设了置顶后,也刷新了页面,但是它还是排在最后面,好像不起作用 在帝国cms后台的系统设置-》系统参数设置-》信息设置选项卡中第三项为:信...
62

-
帝国教程
随着PC互联网与移动互联网的不断融合、以及各类移动访问终端增加,网站移动互联越来越重要了,所以帝国CMS7.2版本在原来版本的多访问终端功能基础上,做出更多的改进,让网站多...
163

-
帝国教程
灵动索引标签调用的是附属信息表,比如tag的phome_enewstagsdata、专题的phome_enewsztinfo、碎片的phome_enewssp_2,这些表的字段有id,classid,但没有字段记录此信息是不是有标题图片。有时要用灵...
175

-
帝国教程
功能需求: 1、方向键左、右键实现打开上一篇、下一篇 2、回车键返回栏目目录。 解决方案: 将以下代码放置于内容页模板底部。 script type="text/javascript"document.onkeydown=pageEvent;var pre...
86