POST TIME:2018-10-30 21:44
修改相關(guān)文件:
①修改程序文件
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);//簡略標(biāo)題字符數(shù)
$color =cn_substrR($color,7);
$writer =cn_substrR($writer,20);//作者字符數(shù)
$source = cn_substrR($source,30);//文章來源字符數(shù)
$description = cn_substrR($description,600);//摘要字符數(shù)
$keywords = trim(cn_substrR($keywords,30));//關(guān)鍵詞字符數(shù)
$filename = trim(cn_substrR($filename,40));//文件名字符數(shù)
if(!TestPurview(‘a_Check,a_AccCheck,a_MyCheck’))
找到
$description = cn_substrR($description,600);
修改紅色數(shù)字為想要顯示的摘要字符數(shù)
②修改數(shù)據(jù)表
打開數(shù)據(jù)表,找到相關(guān)數(shù)據(jù)表,查找:
description字段,將其中數(shù)值改為想要的字符數(shù)。
============================================
此方法還可以修改其他顯示字符的數(shù)值
注意綠色部分及說明。
不再贅述。
