
{eyou:screening id='field' currentstyle='active' addfields='danxuan' alltxt='不限'}
<div class='row'>
<div class='filter-box'>
{eyou:volist name='$field.list' id='vo'}
<div class='filter-boxs'>
<div class='filter-tit'>
{$vo.title} :
</div>
<div class='filter-cen'>
{eyou:volist name='$vo.dfvalue' id='val'}
...more»
中英文分开调用,首先就把中英文版的模板文件分开,比如中文的index.htm lists_article.htm 那英文的命名就要区别开,比如en_index.htm en_lists_article.htm,后台中英文栏目放一起,这样栏目id就能区分开,如果用官方自带的就比较麻烦,官方是通过语言包翻译的,栏目id是一样的,不好分开调用
...more»
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 1select * from `表名` limit 0,-1
解答:到参数设置那,把支持sql查询方式去掉
...more»
出现“Access denied; you need the SHOW DATABASES privilege for this operation”错误
解决方法:”全局参数设置”->”其它设置”那把”空间不支持数据库列表”项打勾去掉即可。
...more»
{eyou:arclist orderby='rand'}
<li>
<a href='{$field.typeurl}'>{$field.typename}</a>
<a href='{$field.arcurl}'>{$field.title}</a>
</li>
{/eyou:arclist}
...more»
开启方法:
后台功能地图-SEO模块-URL配置,url模式选择伪静态。
使用场景:
把网页做成伪静态最主要的就是为了搜索引擎方便搜索引擎蜘蛛(Spider)来抓取网页上的相关内容;提高用户对网页的信任度,因为伪静态的后缀也是.html、htm、.shtml、.xml;网页静态化也影响着网站在搜索引擎的排名;伪静态明确了网站的URL链接,可以更好的让用户传播、浏览以及输入;伪静态不需要全站生成静态页面,可节省服务器空间使用率。
...more»
错误记录:
清空所有文章且以后新建文章ID从1开始
解决方案:
登录织梦后台 找到 系统——系统设置——SQL命令行工具
truncate table `dede_arctiny`;
truncate table `dede_archives`;
truncate table `dede_addonarticle`;
ALTER TABLE `dede_arctype` AUTO_INCREMENT =1;
...more»
错误提示:
Nginx服务器无法登录后台,出现"405, method not allowed"
解决方案:
升级nginx至0.7或者0.7以上的版本即可
...more»
易优cms前台留表单手机真实性验证问题
...more»
如果前段显示的文章列表标题被截断的话,请修改网站模板文章列表标签代码中的titlelen="数字"(将数字修改为你想要的的文章标题长度即可,60代表60个字符,也就是30个汉字。)
{dede:arclist flag="c" channelid='' row='10' titlelen='60' orderby=''}
<li><a href='' title=""></a></li>
{/dede:arclist}
...more»
