We often encounter Dede title length is not enough to use the question 20 words of the title sometimes is really a little short online also some modified the length of the post, but I found that are not complete so write down for everyone to reference. To avoid wasting time.
The first step:
Modify the following 4 files:
Dede directory/archives_add.php/archives_edit.php/article_add.php/article_edit.php $filename = Trim (CN_SUBSTRR ($ FileName,40));//The red part is the title length here I changed to more than 4 files to be modified, otherwise the background is not shown out the second step: Background system settings-Other options-the maximum length of the document title is changed to 200 third step:
In Dede backend, the system-mysql tool, run:
ALTER TABLE ' dede_archives ' change ' title ' "title ' varchar ($) or enter phpMyAdmin, find your database name into the Dede_archives table, Select Title and click Edit to enter the value! Fourth step: Enter Dedecms backstage, in "template management" in the "tag source management", Find arclist.lib.php, click "Edit", find "$titlelen = Attdef ($titlelen, 30); ", change the value of 30 to 100 or greater. Of course you can also find in \include\taglib this directory arclist.lib.php so dede5.7 title length limit modification is completed
dede5.7 Title length Limit modification