As an experienced website operations expert, I am well aware that the core of a content management system (CMS) lies in its ability to organize and present content.AnQiCMS is a corporate-level content management system developed in Go language, with unique flexibility in content models.Today, let's delve into the functional differences between the 'Custom Content Tags' in AnQiCMS and the 'Custom Fields' of traditional CMS or AnQiCMS itself, hoping to help everyone understand more clearly how to use these tools to optimize content operation strategies.


Unveiling AnQiCMS's 'Custom Content Tag': Flexible Connector

When we talk about AnQiCMS's 'Custom Content Tags' (usually abbreviated as 'Tags'), the role it plays is more like a 'topic' or 'index' in a content ecosystem.Imagine you are in a library, the labels are not the information of the books themselves, but sticky notes attached to the books for quick categorization and searching for related topics.

The most distinctive feature of content tags in AnQiCMS isFlexibility across content models and categories. You can add tags to any type of content such as articles, products, pages, etc., and these tags do not have a strict hierarchical relationship, but they can associate seemingly unrelated content through a common topic.For example, an article about 'AnQiCMS features', a product introducing 'SEO optimization', a single page discussing 'website security', can all be tagged with 'website operation' at the same time.In this way, when the user clicks on the 'website operation' tab, they can easily find all related content, regardless of which category or content model these contents originally belong to.

It is even more interesting that the tag feature of AnQiCMS is not just simple text marking. According to the documentation, tags themselves can haveTitle(Title),Description(Description),Link(links), evenLogo(Image) and other attributes. This means that tags are no longer isolated keywords, but can be given richer context and display forms, such as displaying exclusive Logos or descriptions on the Tag list page, which undoubtedly brings greater space for SEO optimization and user experience. ThroughtagListLabel, we can easily call and display these labels in the template, andtagDataListIt can retrieve the list of associated documents based on specific tags, greatly enhancing the discoverability of content and the construction of internal links.

In-depth analysis of AnQiCMS's "Content Model Custom Fields": the constructor of structured data

The 'soft association' with custom content tags is different, AnQiCMS's 'Content Model Custom Fields' (usually abbreviated as 'Custom Fields') are more like the 'genetic attributes' of content, they areData inherent and structured within the content modelEach custom field is closely bound to a specific content model. Once a field is defined for a model, all content under that model will have these fields to store specific type of information.

For example, a 'product model' may require fields such as 'price', 'inventory', 'brand', 'product parameters', etc.These fields have pre-defined data types, which can be 'single-line text', 'number', 'multi-line text', 'single-choice', 'multi-choice' or 'drop-down selection'.The existence is to refine the specific attributes of the content, support more complex business logic, such as product parameter filtering on e-commerce websites, service feature descriptions on corporate websites, etc.

Custom fields are displayed directly in the AnQiCMS backend when publishing content, for operators to fill in specific attribute values. On the frontend template, we usearchiveParamsLabel to retrieve custom field data of the document, and it can be displayed in a loop; andarchiveFiltersTags can utilize these fields to build powerful filtering functions, allowing users to precisely filter products based on attributes such as color, size, memory, and greatly improve the efficiency of information search and the functionality of the website.

The essential difference: why do we need both to coexist?

Understanding the characteristics, we can clearly see the essential differences between 'custom content tags' and 'custom fields', and why AnQiCMS needs both to coexist:

  1. Positioning is different:Labels emphasize “Relevance” and “CategorizeThis aims to connect content through common topics to form a network structure; while the field focuses onproperty” and “structureThis is used to describe the specific features and attributes of content, forming a layered data structure.
  2. Scope is different:Tags cancrossDifferent content models and categories, realizing a wide range of content aggregation; Custom fields are:FixedProvide a unified and detailed data definition within a specific content model.
  3. Data forms are different:The tag is a relatively flexible index, itself can carry a small amount of metadata, but its core function is as an association identifier; custom fields have clear data types and validation rules, and are rigorous content attribute data.

For example, if you consider a website's content library to be a large library, then 'custom content tags' are like the thematic index cards that are随处可见 in the library, such as 'historical events', 'biographies', and 'literary reviews'. It can span all shelves and categories, helping you quickly find all books related to a particular topic.While the 'custom field' is more like a 'information registration card' for each book, it records in detail the author, publication date, ISBN number, price, number of pages, and other structured information of this book.

Both are not mutually exclusive, but complementary. Custom content tags make the relationship between content more dynamic and open, facilitating users' exploration of information across different dimensions;Custom fields make each piece of content more complete and accurate, providing a solid foundation for content filtering, display, and feature expansion.AnQiCMS provides these two powerful content organization tools, enabling small and medium-sized enterprises and content operation teams to build a flexible and rigorous content management system according to the complexity and characteristics of their own business.


Frequently Asked Questions (FAQ)

1. When should I choose to use AnQiCMS custom content tags and when should I choose custom fields?When you want to associate different types or categories of content through a common theme, keyword, or interest point, you should use 'custom content tags' first.For example, apply tags such as 'website security', 'Go language development', 'SEO optimization', etc. to multiple articles or products.When you need to add structured, unique properties with specific data types (such as price, size, author, release date, etc.) for specific content models (such as "product", "service"), then you should use "custom fields".

2. Can AnQiCMS custom content tags have hierarchical relationships like categories?No, the custom content tags of AnQiCMS do not have a hierarchical structure like categories.They are flat and designed to achieve horizontal association between content.If you need to build a hierarchical content organization, it is recommended to use the 'Document Classification' feature of AnQiCMS, which supports a multi-level classification system.

3. What data types are supported by AnQiCMS custom fields, can default values be set or is it required?AnQiCMS custom fields support various data types including single-line text, numbers, multi-line text, single selection, multiple selection, and drop-down selection.When creating custom fields, you can flexibly set whether each field is required based on business needs, and you can set default values for fields. Especially for selection type fields, the default value will be used to define options.