Home CMS Tutorial DEDECMS How to modify the title length in dede5.7

How to modify the title length in dede5.7

Dec 09, 2019 am 10:12 AM

How to modify the title length in dede5.7

dede5.7 How to modify the title length?

How to modify the title length in dede5.7

When we all installed the DEDE5.7CMS system, when adding information, we found that the official default title length was very short. We can see from the screenshot that the default title length is very short. The length is 60, which cannot meet our needs for content delivery, so we need to modify it accordingly.

Recommended study: 梦Weavercms

According to the editor’s experience, you can directly modify it to a character length between 200-255, which can meet the title of the website Length requirements.

We first open the background-system-other options, here we change the "maximum length of document title" to 255, and then submit and save.

Then we open the background-system-SQL command tool and enter:

ALTER TABLE `dede_archives` CHANGE `title` `title` VARCHAR( 255 )
Copy after login

Note that dede_archives is the default MYSQL table prefix, and friends who need it can modify it to their own prefix.

After the execution is successful, it has not yet been completed. When dede adds articles by default, it also imposes title length restrictions and display restrictions. We also need to modify the include\taglib\arclist.lib.php file.

How to modify the title length in dede5.7

After opening, we search for: $titlelen,30 characters, of which 30 is the length of the title interception, we change it to 255

The above is the detailed content of How to modify the title length in dede5.7. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)