When using the Dede call list heading out, you will find the title text Word count is not complete, that is because the Dede default title out of the length is 30 characters, in order to let the title display complete, to make the following changes!
1, into the background – system – System Settings – system basic parameters – other options – document title to the maximum extent you want the length of the original default is 60 (this is changed to 200)
2, log in the database, change the database table Dede_archives table inside the title field, the original default is 60, (this is changed to 200).
| 1 |
ALTERTABLE`dede_archives` CHANGE `title` `title` VARCHAR(200) |
Resolution DEDECMS UTF-8 Home article title show the way the words are too short
Cause analysis: Because the UTF-8 encoding 1 Chinese characters occupies 3 bytes, GBK occupies 2 bytes, so the original $titlelen = Attdef ($titlelen, 30) equals to a large fetch of 30 bytes, so a maximum of 11 characters are displayed.
Workaround: 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 60 or greater. Of course you can also find arclist.lib.php in the \include\taglib directory, and then modify the same method, and then upload to your space.
Modify Dedecms article title length to resolve Dedecms article title display not complete