Pursuing a dream dedecms modify the title of the article length method

The default dedecms article title length of 60 characters, and now the title of the article 20 characters are far from meeting the needs, so we have to do is modify the system default word limit. As follows:
  1, modified weaving dreams background "System -> basic parameters -> Other Options -> title of the article length" of a desired length, for example, 200 (the maximum value can not exceed 255), Click OK to save
  2, in DedeCms background "system -> SQL command line tool" execute SQL statements:

alter table dede_archives change title title varchar(250)

Note: dede_ which is the default prefix database installation, if the installation dedecms modified and now have to do the appropriate changes.

For example: Page

http://www.sdfymb.com/news/711.html

Article titled:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>建筑圆柱木模板支设与拆除时注意事项及木制圆模板的优势-方圆模板</title>
<meta name="keywords" content="建筑圆柱木模板" />
<meta name="description" content="现在圆形混凝土柱子支模施工基本上采用建筑圆柱木模板,那么采用这种木制圆模板有哪些优势呢?在支模施工或者脱模建筑圆柱模板时需要注意哪些方面呢?" />
<link rel="canonical" href="http://www.sdfymb.com/news/711.html" />
<script src="http://msite.baidu.com/sdk/c.js?appid=1634404368209099"></script>
<script type="application/ld+json">
    {
        "@context": "https://ziyuan.baidu.com/contexts/cambrian.jsonld",
        "@id": "http://www.sdfymb.com/news/711.html",
        "appid": "1634404368209099",
        "title": "建筑圆柱木模板支设与拆除时注意事项及木制圆模板的优势-方圆模板",
        "images": ["http://www.sdfymb.com/uploads/image/2019/1-1911130Z614Y8.jpg","http://www.sdfymb.com/uploads/image/2019/1-1911130ZH0422.jpg","http://www.sdfymb.com/uploads/image/2019/1-1911130ZQD06.jpg"],
        "pubDate": "2019-11-13T08:50:55"
    }
</script>
<link href="/skin/css/style.css" rel="stylesheet" type="text/css" />
</head>

Completely beyond the limit of 60 characters.

Guess you like

Origin blog.51cto.com/14201330/2450202