Help for Content Model

Calendar 👁️ 741

The content model determines the document functions of the entire site.

The system comes with built-in文章模型and产品模型these 2 models.

content-41

The built-in content model can be modified but cannot be deleted. Custom models added can be modified and deleted.

It should be noted that when you want to delete a model, you must think carefully, as deleting the model will also delete all documents and categories under it.

The content model can modify the content fields:

content-42

  • Model name
  • The model name will serve as the Chinese name of the model, and it will also be displayed in the breadcrumb navigation as the display name of the model level.
  • Model table name
  • The model table name is the table where the model custom field content is stored in the database. The table name must be in English lowercase letters, otherwise, the content may not be displayed correctly.
  • URL alias
  • Only English lowercase letters are supported, the static rule defined by the {module} call. It will be displayed in the URL. Please use English lowercase letters.
  • Title Name
  • Used to display the document title prompt location when publishing a document, for example, if you create a product model, you can fill in the title name as the product name, and the product name will be displayed as the title prompt when the document is published.
  • Custom fields for content model
  • You can set fields that only this model has in the content model here.
  • The content that can be set in the form of adding fields is:
  • Parameter Name
  • The parameter name provides the Chinese name displayed, such as the author of the article, the source of the article, and so on.
  • Field invocation
  • The field is the field name that will be written to the database table, please use letters as the field name. For example, author
  • Field type
  • The field types supported here are:
  • Single-line text
  • You can enter a line of text, no more than 250 characters
  • Number
  • Only numbers can be entered
  • Multi-line text
  • You can enter multiple lines of text content
  • Single choice
  • You can set multiple options, but only one option is allowed to be selected. Options are set through the default values below.
  • Multiple selections
  • You can set multiple options, and you can also select multiple options. Options are set through the default values below.
  • Drop-down selection
  • You can set multiple options, but only one option is allowed to be selected. Options are set through the default values below.
  • Mandatory?
  • You can specify whether this field is required. If it is required, the submitted data will be checked to see if this field is included.
  • Default value
  • When this field needs to default to a certain value, you can fill it in here.But note that when it comes to single-choice, multiple-choice, and dropdown modes, the default value is the value of their options.Multiple-choice, check box, and drop-down multiple values, please enter one per line in the default value here, and the system will automatically parse each line as an option.

Related articles

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

Instructions for Adding Documents

The document feature provides powerful document addition operations.By adding a document interface, we can add various types of properties to the document, such as document title, recommended attributes, document classification, thumbnail, tag tags, and more.Add the default features on the interface for adding a document: The document title is a required field, and the document title is used as the h1 title displayed to the user.Recommended attribute document recommended attributes can specify 8 types, can be selected individually

2022-06-20

Document Management Instructions

Document management is the document center of the entire site, which can perform various operations such as publishing, deleting, recycle bin, draft management, batch keyword replacement, and so on.Document list The document list displays all documents. You can also perform various operations on the document list, such as adding new documents, deleting, viewing, editing, bulk deleting, searching, and filtering.The document list can be filtered by document title, content model, and category to display the document list content

2022-06-20