How to make the article title bar exceed 60 characters in DEDECMS?
1. Use PHPMYADMIN to modify the MYSQL data structure
CODE: ALTER TABLE `dede_archives` CHANGE `title` `title` VARCHAR( 250 ) [Copy to clipboard]
2. Open /dede/action_article_save.php
Find the 39th line of CODE: $title = cn_substr($title,60); [Copy to clipboard]
Change to CODE: $title = cn_substr($title,250) [Copy to clipboard] ;
3. Open /dede/action_archives_edit_save.php
Find 32 lines of CODE: $title = cn_substr($title,60) ; [Copy to clipboard]
Change to CODE: $title = cn_substr($title,250) [Copy to clipboard] ;
OK, so your article title supports 125 Chinese characters Got it!
Recommended study:梦Weavingcms
The above is the detailed content of How to make the article title bar exceed 60 characters in DEDECMS. For more information, please follow other related articles on the PHP Chinese website!