Home  >  Article  >  CMS Tutorial  >  How to create a new column in phpcms

How to create a new column in phpcms

王林
王林Original
2020-02-08 11:13:252805browse

How to create a new column in phpcms

The specific method is as follows:

1. Add a column

Location: System Settings----Column Management-- --Add a column

Add a column, according to your own needs whether there is a superior column, and select the appropriate column type,

Column management type:

1, internal column ( Can bind content model, and supports creating sub-columns or publishing information under the column)

2. Single web page (can update the content of a single web page, but cannot create sub-columns or publish information under the column)

3. External link (you can create a link and point to any URL)

At the same time, you need to bind a model. If you create a news column, you need to bind the "article" model.

As shown in the picture:

How to create a new column in phpcms

Set the detailed information of the column, column name, column directory (the directory where the static files generated by the column content are stored)

How to create a new column in phpcms

Settings of column permissions, relevant column management permissions and user browsing permissions

How to create a new column in phpcms

Charging settings, relevant column charging settings

How to create a new column in phpcms

Template settings, select the column template. The system comes with a model template by default. For template management and production, please see "Template Management"

How to create a new column in phpcms

2. Management Column

Location: System Settings----Column Management----Management Column

Manage columns, modify, add sub-columns, delete and move , Clear operation

Note: Single web pages and external connections cannot add sub-columns and clear operations

How to create a new column in phpcms

3. Merge columns

Position: System Settings----Column Management----Merge Column

All the information of the source column will be transferred to the target column, and the source column and its sub-columns will be deleted at the same time

How to create a new column in phpcms

4. Update column cache

Location: System Settings----Column Management----Update Column Cache

Update The cache information of the column. When the column is abnormal, it is recommended to update the cache. 5. Repair the column data

Location: System Settings ---- Column Management ---- Repair the column data

Repair the column data 6. Add columns in batches

Location: System Settings ---- Column Management ---- Add columns in batches

Add multiple columns under the same model at one time

How to create a new column in phpcms

Related recommendations: phpcms tutorial

The above is the detailed content of How to create a new column in phpcms. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn