本文將為您介紹的是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'))修改相應括號里的數字為想要顯示的字符數
2、修改數據表打開數據表,找到相關數據表,查找:description字段,將其中數值改為想要的字符數。此方法還可以修改其他顯示字符的數值。