About the dedecms custom model, after adding a custom field to the background, the solution is not displayed.

Source: Internet
Author: User

Dedecms does not take a long time. This problem occurs when I recently started a website (custom fields do not display content in the background) after adding a Custom Field in, edit and open it in the background and find that the previously added content is not displayed. If you just want to see it and do not click OK, then the call to the foreground data is normal, however, I returned to the background and found that the fields were not displayed. I couldn't help it. I checked them online, but I still couldn't find the cause of the problem, finally, I checked whether there was any problem in his additional table. After opening it, I found that the field name in the database was in uppercase (PS: I like to use uppercase letters to add custom fields.) This is not the case! So I changed them to lower-case letters, and opened the background again to view the fields that were not displayed.

 

Summary:

We recommend that you name the fields in the custom model in lower-case letters. Otherwise, you will encounter this problem, if you have met this problem, you can open your data and find your additional table, and change the field name to a unified lower case!

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.