| 【DEDE tag长度修改】 1.修改数据库) W% P, E" P/ H0 J 进入数据库 修改表dede_tagindex和dede_taglist的tag字段分别修改为255 2.源文件修改- J( t- q2 `: j9 C 在include/archives.func.php中查找:if(isset($tag[12]) 修改为:if(isset($tag[255]) 在include/archives.func.php中查找:if(isset($tag[20])* d" N3 K1 P% M4 R% Y, @0 ~ 修改为:if(isset($tag[255])6 p9 v5 t0 ^1 e- Y/ M0 ` 【DEDE title长度修改】, O8 Q2 e! x7 r* q7 T dedecms 对文章的标题长度作了限制,最长为60字节,这显然不够用。下面是修改方面: 1、进入dedecms后台,系统——系统基本参数——其他选项——文档标题最大长度——在这修改为200或更大(其实200应该是足够了)。 : i: c2 o9 Q* [6 x m7 M+ L, P 2、进入数据库,点击dede_archives 进入表——title——点击编辑——输入200 (根据需要调整)6 x$ U! E0 u4 {6 T / x5 @6 G, \" d K# B% f7 b, Z DEDE keywords关键词长度修改 1.进入数据库 修改表dede_archives、dede_infos和dede_keywords的keyword字段分别修改为255 2.源文件修改 O2 Y7 V) r0 |8 F2 V7 c 找到如下文件4 y, ~3 a4 s5 H* o# l/ C- E# x) H1 S /dede/article_add.php /dede/article_edit.php /dede/archives_add.php /dede/archives_edit.php查找$keywords = cn_substrR($keywords,30);和$keywords = trim(cn_substrR($keywords,30));将里面的数值改为255 /dede/inc/inc_archives_functions.php找if(strlen($keywords.$k)>= 将后面的数值改为255 【栏目名称长度修改】 修改数据表dede_arctype中的typename和typedir字段改为255 |
| 欢迎光临 航空论坛_航空翻译_民航英语翻译_飞行翻译 (http://bbs.aero.cn/) | Powered by Discuz! X2 |