AnQiCMS (AnQiCMS) provides high flexibility and customizability in content management, with its core being the powerful content model mechanism.As a website operator, I know that content structure is important for information communication and user experience, and AnQiCMS ensures this through its content model.

In the AnQiCMS system, all content generation and management revolve around the content model. The system defaults to two basic and commonly used content models, which areArticle modelandProduct modelThese two models provide a standardized framework for common content publishing, such as corporate news, blog articles, product detail pages, etc.By associating content with a specific model, AnQiCMS can effectively classify and structure different types of information.

The strength of AnQi CMS goes far beyond providing preset models, it also grants users极高的customization ability.For the built-in 'article model' and 'product model', users can modify them according to their actual operational needs to adapt to the ever-changing content strategy of the enterprise.It is noteworthy that these built-in models can modify their properties, but they cannot be deleted to ensure the core functions and data integrity of the system.

Further, AnQiCMS allows users to meet their unique business needs according to their own,Fully customize a new content modelThis means that whether it is necessary to manage 'event registration', 'team member introduction', 'case display' or any other special type of content, users can create dedicated content models in the system.These custom models have the same flexibility as built-in models, can be modified freely, and can be deleted when no longer needed, ensuring the system's lightweight and high adaptability.

The core of the customizable content model lies in its configurable natureCustom fieldEach model can define a set of exclusive fields based on its content characteristics to accurately capture the required information.When creating or editing custom fields, users can set the following key properties:

  • Parameter name:This is the display name of the field in Chinese, which is convenient for identification in the background. For example, 'article author', 'product price', etc.
  • Call field:This is the English name stored in the database, which is also used as an identifier in the front-end template when calling data. It is recommended to use concise and clear lowercase letters.
  • Field type:AnQiCMS offers a variety of field types to meet the storage needs of different data. This includes:
    • Single-line text:Suitable for short text input, such as titles, brief descriptions, etc., the character limit is usually within 250 words.
    • Number: Designed for numeric input, ensuring the numerical nature of the data.
    • Multi-line text:Suitable for long-form content or rich text editing, such as article body, detailed introduction, etc.
    • Single choice:Allows users to select one from a preset set of options.
    • Multiple selection:Allow users to select one or more from predefined options.
    • Dropdown selection:Provide predefined options in the form of a dropdown menu for the user to select one.
  • Mandatory?:You can set whether this field is required to be filled in when the content is published to ensure the integrity of the content.
  • Default:Set the initial value for the field. For selection fields (single selection, multiple selection, dropdown selection), the default value is the option list of their options, each option occupying a line.

Through this flexible custom field mechanism, AnQiCMS ensures that the content editing interface can dynamically adapt to the needs of different content models.When the operations personnel select a content category (the category is already bound to a specific content model), the system will automatically display all the fields defined by the model, guiding the user to input content accurately and efficiently.At the same time, these custom fields can also be accurately called by the front-end template, making the display form of the content can be completely personalized according to the design requirements.

AnQiCMS provides an excellent content management experience for small and medium-sized enterprises, self-media, and multi-site managers through its powerful content model and flexible custom field features.It not only simplifies the content publishing process, but also lays a solid foundation for SEO optimization, multilingual promotion, and personalized content display through structured content management.


Frequently Asked Questions (FAQ)

Q1: Will creating too many custom content models or custom fields affect website performance?

AnQiCMS is developed based on Go language, known for its high performance and high concurrency features.A well-designed content model and custom fields can help the system store and retrieve data more efficiently.Although theoretically, adding an infinite number of models and fields would increase the complexity of the database, within the normal operating range, the architecture design of AnQiCMS can stably bear these expansions and will not significantly affect the overall performance of the website.The key is to create in a planned manner according to actual needs, avoiding unnecessary redundancy.

Q2: Can I delete the built-in 'Article Model' or 'Product Model' of AnQiCMS?

You can't. The 'Article Model' and 'Product Model' built-in in AnQiCMS system are core components of the system. They can be modified to meet your business needs, but cannot be deleted from the system.This is to ensure the stability and integrity of the basic functions of the system.However, you can completely delete any custom content model you have created.

Q3: What types of custom fields are supported, and how do I set option values?

Custom fields support multiple types, including single-line text, numbers, multi-line text, single-choice, multiple-choice, and dropdown selection.For single choice, multiple choice, and drop-down selection of these three types, the option values are set through the "default value".You just need to enter an option in the default value input box, and the system will automatically parse it and present it as a selectable item.