Delete dedecms custom Fields

Source: Internet
Author: User
When you modify a website, you need to add custom fields. When you do not need them later, you will find that custom fields cannot be deleted.

So I found the dede_addonarticle table of the database and saw the Custom field. After deletion, I found that the custom field still exists in the background model. Many of my friends have done this, I don't know how to do it. An error occurred while publishing the article, prompting that the custom field could not be found, but the article could not be published.

This custom field exists in dede_channeltype, that is, in the model configuration. Enter the dede_channeltype table of the database and Click Browse content, you will find that this custom field exists in the content of the fieldset field.

Reference content is as follows:
<Field: Body itemname = 'Article content' type = 'htmltext' isnull = 'true' default = ''rename = ''page = 'split '/>
<Field: daima itemname = "code" autofield = "1" notsend = "1" type = "htmltext" isnull = "true" islist = "0" default = "" function = "" maxlength = "" page = "">
</Field: Daima>

You only need to delete <field: Your field> </field>. The problem is solved.

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.