Change the length of the official website and the demo address field in Dedecms

Source: Internet
Author: User
Keywords Dedecms field length official URL demo address

When using DEDECMS to add resources, the official web site and demo address in the official version can not add the complete URL, automatically intercept the crossed characters, view the related database fields, and find the Dede_addonsoft table, The Officialurl definition length of 30,officialdemo is 50, which clearly does not meet our application requirements.

Here are two ways to modify the length of this field, if you do not install phpMyAdmin and other database management tools, you can use the Dedecms SQL command-line tools to modify:

1, Login Dedecms Backstage, click the System-->sql command line tool

Go to the SQL command run and run the following SQL command:

ALTER TABLE ' dede_addonsoft ' change ' officialurl ' Officialurl ' VARCHAR (200)

ALTER TABLE ' dede_addonsoft ' change ' officialdemo ' Officialdemo ' VARCHAR (200)

Corresponding call field:

{Dede:field http://www.aliyun.com/zixun/aggregation/11696.html ' >name= ' Officialurl '/}

{Dede:field name= ' Officialdemo '/}

2, through the phpMyAdmin to modify the length of the field

Login phpMyAdmin into the DEDECMS database, find the Dede_addonsoft table, click the structure,

into the Dede_addonsoft table structure,

Find the Officialurl field, click Modify, change varchar to 200,

Find the Officialdemo field, click Modify, change varchar to 200,

Add new content, the official website and demo Address field can be fully displayed!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.