【DEDE tag长度修改】 1.修改数据库# j. Y. V; ]& J4 s! Q 进入数据库 修改表dede_tagindex和dede_taglist的tag字段分别修改为2558 A% Q7 g7 h/ U E, Q7 m5 A7 n 2.源文件修改 b8 ?2 ~/ B0 Q0 t; \6 C5 F. v 在include/archives.func.php中查找:if(isset($tag[12])2 H9 Q B) `4 ^ Y, s5 J# z( C d 修改为:if(isset($tag[255])1 \0 Y0 J; c+ ]% f, |' k 在include/archives.func.php中查找:if(isset($tag[20])6 b3 }0 S+ j9 Z+ V8 f 修改为:if(isset($tag[255]) 【DEDE title长度修改】 dedecms 对文章的标题长度作了限制,最长为60字节,这显然不够用。下面是修改方面: 1、进入dedecms后台,系统——系统基本参数——其他选项——文档标题最大长度——在这修改为200或更大(其实200应该是足够了)。 2、进入数据库,点击dede_archives 进入表——title——点击编辑——输入200 (根据需要调整) 7 W c$ D. j* _. v8 Z DEDE keywords关键词长度修改! H2 t* Z+ B+ ^9 |% n 1.进入数据库 修改表dede_archives、dede_infos和dede_keywords的keyword字段分别修改为2559 t* R1 f4 _3 t( T q- _8 d 2.源文件修改 找到如下文件 /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)>=1 N; v. S& d, s 将后面的数值改为255 【栏目名称长度修改】- l5 a6 [, ^8 r$ t: b 修改数据表dede_arctype中的typename和typedir字段改为255 |
欢迎光临 航空论坛_航空翻译_民航英语翻译_飞行翻译 (http://bbs.aero.cn/) | Powered by Discuz! X2 |