In AutoCMS, the flexibility of website content is one of its core advantages.Through powerful content model functions, we can customize various fields according to business needs, thereby achieving a rich and diverse content display.When we need to display complex fields customized by the background content model in templates, such as image groups, understanding its data structure and the usage of template tags is particularly important.

Understanding the CMS content model and custom fields

The Anqi CMS fully considered the diversity of content from the beginning of its design, and its flexible content model is the core of personalized content display.It allows us to break out of the traditional "article

Under the "Content ManagementCustom fields are an important part of the content model, allowing you to add unique attributes for each content type.For example, an "article" may require an "author avatarThese custom fields greatly enhance the management and display capabilities of the content.

For complex fields such as image groups, although there may not be a direct field type called "image group" on the backend, there is usually some mechanism to implement multi-image upload and storage (such as using a text field to store URLs of multiple images separated by commas or other delimiters, or the system internally has a dedicated multimedia field type). When we successfully add and configure such a field in the content model and in the content publishing