Home >CMS Tutorial >PHPCMS >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:
Set the detailed information of the column, column name, column directory (the directory where the static files generated by the column content are stored)
Settings of column permissions, relevant column management permissions and user browsing permissions
Charging settings, relevant column charging settings
Template settings, select the column template. The system comes with a model template by default. For template management and production, please see "Template Management"
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
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
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
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!