POST TIME:2018-10-30 21:44
修改相關文件:
①修改程序文件
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’))
找到
$description = cn_substrR($description,600);
修改紅色數字為想要顯示的摘要字符數
②修改數據表
打開數據表,找到相關數據表,查找:
description字段,將其中數值改為想要的字符數。
============================================
此方法還可以修改其他顯示字符的數值
注意綠色部分及說明。
不再贅述。