Document Category

📅 November 21, 2026 👁️ 0

Document Category

Document classification is used to organize documents by model, maintain classification hierarchy, template, display status, and custom classification fields.

Entry Path

Top menu of backend → 'Content' → 'Document Classification'. Actual address:/system/archive/categoryrequires administrative privileges(canAdmin)

Function description

Categories are displayed by document model, supporting **category, subcategory, batch addition, template specification, sorting, display/hide, and custom category fields.

Screenshot of the interface

Document Category

List field description

field Meaning Value or source Impact on the operation
ID / Sorting Category number and sorting value Back-end record, read-only Used for identification and filtering, cannot be directly edited
Category Name Front-end display name Back-end record, read-only Used for identification and filtering, cannot be directly edited
Document model Category model Back-end record, read-only Used for identification and filtering, cannot be directly edited
category template Template used on category page, defaults to inherited model Back-end record, read-only Used for identification and filtering, cannot be directly edited
Document Template Template used for documents under the category Back-end record, read-only Used for identification and filtering, cannot be directly edited
Document count Number of documents under the current category Back-end record, read-only Used for identification and filtering, cannot be directly edited
Display Status Show / Hide Back-end record, read-only Used for identification and filtering, cannot be directly edited
Operation Document list, add subclass, batch add subclass, modify, delete Back-end record, read-only Used for identification and filtering, cannot be directly edited
:— :—
ID / Sorting Category number and sorting value
Category Name Front-end display name
Document model Category model
category template Template used on category page, defaults to inherited model
Document Template Template used for documents under the category
Document count Number of documents under the current category
Display Status Show / Hide
Operation Document list, add subclass, batch add subclass, modify, delete

Operation steps

  1. Go to 'Content → Document Classification'.
  2. Click on 'Add **Category' or 'Batch Add Category' to create a category.
  3. Click on 'Add Subcategory' on an existing category to establish a hierarchy.
  4. Click 'Edit' to set the template, sorting, and display status.
  5. Click 'Update Document Count' if the document count is inaccurate.

Applicable scenarios and suggestions

  • Category levels should not be too deep; three levels or more can complicate front-end filtering and template creation.
  • For different list styles, specify an independent 'Category Template' for the category.
  • The category field is used to store SEO copy, images, and other additional information; see the Custom Field tutorial for configuration methods.

Front-end call example

The category list passes.categoryListTag call:

{% categoryList categories with moduleId="1" parentId="0" %}
  {% for item in categories %}
    <a href="{{ item.Link }}">{{ item.Spacer|safe }}{{ item.Title }}</a>
  {% endfor %}
{% endcategoryList %}

The category detail field passes.categoryDetailRead the tag, the custom field also uses the tag according to the field name.

Points to note

  • Before deleting the category, confirm that the documents under it have been transferred, otherwise the documents will lose their category affiliation.
  • After changing the template file name, the template file must actually exist, otherwise the front-end list page will report an error.
  • Hiding the category will not delete the document, but the front-end usually no longer displays the category entry.

Related documents

Related articles

Image Resource Management

Image Resource Management is used for uploading, classifying, searching, and maintaining all images and video resources on the website.

2026-11-21

Help for Content Model

The content model determines the document function of the entire site. The system is default built-in with Article Model and Product Model these 2 models.The built-in content model can be modified but not deleted.The newly added custom model can be modified and deleted. It should be noted that when you want to delete a model, you must think carefully, as deleting a model will also delete all documents and categories under that model.The content model can modify the content fields such as: model name model

2022-06-20

Help for Document Tags

Document tag management can view and manage all document tags.The document tags are not classified by category and model, the same tag can be marked for documents of different content models at the same time.The document label is relatively simple, it includes label name, index letter, and description content.You can perform operations such as adding, editing, and deleting in the tag management.Add document tag, you can fill in and add fields such as: tag name, display name of the tag.Index letters index letters will only contain

2022-06-20

Help for Document Classification

Document classification management can manage the classification of different content models.Each category belongs to only one content model. Through category management, you can quickly view the document list of the current category, add subcategories to the current category, edit and modify the content of the category, and other operations.After a category is created, its content model is fixed and cannot be changed.In the form for adding and editing document categories, you can enter the following content: document model once selected document model

2022-06-20

Custom field usage tutorial

Custom fields are used to provide additional business fields for documents, categories, tags, users, city stations, messages, template settings, and orders without modifying the program code.

2026-11-21

Document List

Document list is the document management center of the entire site, used for filtering, searching, editing, batch processing documents, and entering the recycle bin and batch importing.

2026-11-21

Content model

Content model defines the type, table name, title name, and custom fields of documents, and is the configuration entry for document and classification fields.

2026-11-21

Single page management

Single page management is used to create independent pages such as 'Company Introduction' and 'Contact Us', and maintain names, SEO information, URL aliases, and content.

2026-11-21