1. Deeply understand the content model of AnQiCMS

2. Customize exclusive fields: Make content information richer

The custom field feature of AnQiCMS is the core of content personalization.When you enter the 'Content Management' module in the background, find 'Content Model' to edit or add, you will see a section of 'Content Model Custom Fields'.This is where we add more details and enrich the content.

1. How to add custom fieldsWe need to define several key properties when adding a field:

  • Parameter name:This is the Chinese name of the field, which is convenient for you to identify in the background management, such as “Article Author”, “Product Model”. It is also the reference name when called in the front-end template.
  • Field call:This is an English name used for database storage and front-end template calling, such asauthor/product_model. The system will automatically convert it to camel case naming for use in the template.
  • Field Type:AnQiCMS provides various field types to meet the needs of different information:
    • Single-line text:Suitable for brief text information, such as article source, product brand, author name, etc.
    • Numbers:Ensure that the input is a number, such as product inventory quantity, price, article reading volume, etc.