标题:如何使织梦系统的文章标题突破30个字的限制 出处:沧海一粟 时间:Fri, 25 Aug 2006 11:12:33 +0000 作者:jed 地址:http://www.dzhope.com/post/3/ 内容: ************************************************************************ 找到./include/inc_arcpart_view.php 行291 : if($titlelen=="") $titlelen = 30; 修改为 if($titlelen=="") $titlelen = 60; ================================ ./include/inc_arcpart_view.php 282行: function GetArcList($typeid=0,$row=10,$col=1,$titlelen=30,$infolen=160, $imgwidth=120,$imgheight=90,$listtype="all",$orderby="default",$keyword="", $innertext="",$tablewidth="100",$arcid=0,$idlist="") 将其中的$titlelen=30改为自己希望的长度。 ===================================== 后台文件 action_article_save.php action_article_eidt_save.php $title = cn_substr($title,60); 将其中的60改为自己希望的长度。 ================================= 数据库 同时要修改数据库中dede_archives数据表中的title字段,类型不变,将数字改为自己希望的长度。 ==================================================== 如果是用的采集功能的话,还得改一个文件action_co_export.php 大约在53行,找到 if($title_sel=="0") $title = addslashes($row->title); else $title = cn_substr($fields[$title_sel],60); 将其中的60改成自己希望的数字! Generated by Bo-blog 2.1.1 Release