不要认为自己比别人做得好,即便你很出色。常问自己,谁对我有恩还没加倍报答。杜绝事必躬亲,学会抓大放小。
本文将为您介绍的是DEDECMS修改文章标题,来源,摘要,作者等字数限制,具体操作方法请看下文:
具体步骤:
1、找到后台登录目录,默认为dede目录,找到以下文件:
/archives_add.php
/archives_edit.php
/article_add.php
/article_edit.php
记得四个文件都要修改
如果修改专题摘要,还得修改:
/spec_add.php
/spec_edit.php
-------------------------
查找以下代码:
$title= cn_substrR($title,$cfg_title_maxlen); $shorttitle = cn_substrR($shorttitle,36);//简略标题字符数 $color = cn_substrR($color,7); $writer = cn_substrR($writer,20);//作者字符数 $source = cn_substrR($source,30);//文章来源字符数 $description = cn_substrR($description,600);//摘要字符数 $keywords = trim(cn_substrR($keywords,30));//关键词字符数 $filename = trim(cn_substrR($filename,40));//文件名字符数 if(!TestPurview('a_Check,a_AccCheck,a_MyCheck')) |
以上就是DEDECMS织梦修改文章标题,来源,摘要,作者等字数限制的方法。人生下来就得交“学费”,只是不要交重复的。更多关于DEDECMS织梦修改文章标题,来源,摘要,作者等字数限制的方法请关注haodaima.com其它相关文章!