The method of making the title bar of an article break through 60 characters in DEDECMS
How to make the title bar of an article exceed 60 characters in DEDECMS? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!
How to make the title bar of an article exceed 60 characters in DEDECMS?
1. Use PHPMYADMIN to modify MYSQL data structure
CODE: ALTER TABLE `dede_ archives` CHANGE `title``title` VARCHAR [Copy to clipboard]
2. Open / dede/action_article_save.php
Find line 39 CODE: $title = cn_substr ($title,60); [Copy to clipboard]
Modify to CODE: $title = cn_substr ($title,250) [Copy to clipboard]
3. Open / dede/action_archives_edit_save.php
Find 32 lines CODE: $title = cn_substr ($title,60); [Copy to clipboard]
Modify to CODE: $title = cn_substr ($title,250) [Copy to clipboard]
OK, so that your article title supports 125Chinese characters!
Thank you for reading! After reading the above, do you have a general idea of how to make the title bar of the article break through 60 characters in DEDECMS? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.