The method of creating a new column in phpcms
Editor to share with you the method of phpcms new column, I hope you will gain a lot after reading this article, let's discuss it together!
The specific methods are as follows:
First, add columns
Location: system settings-column management-add columns
Add columns, according to their own needs whether there are superior columns, and select the appropriate column type
Column management type:
1. Internal column (can bind content model, and support creating sub-columns or publishing information under the column)
2. A single web page (you can update the content of a single web page, but you cannot create sub-columns or publish information under the column)
3. External links (you can set up a link and point to any URL)
At the same time, bind a model, if you create a news column, then bind the "article" model.
As shown in the figure:
Set the details of the column, column name, column directory (the column content generates the directory where the static files are stored)
Column permissions settings, related column management permissions, user browsing rights
Charge setting, related column charge setting
Template settings, select column template, the system comes with the model template by default, about template management, production and view "template management"
II. Management column
Location: system settings-column management-management column
Manage columns, modify, add subcolumns, delete, move, empty operations
Note: you cannot add subcolumns and empty operations between a single web page and an external connection.
III. Merge columns
Location: system settings-column management-merge columns
All the destination information of the source column is transferred to the target column, while deleting the source column and its subcolumns
Update the column cache
Location: system settings-column management-update column cache
Update the cache information of the column. When there is an exception in the column, it is recommended to update the cache and repair the column data.
Location: system settings-column management-repair column data
Repair column data VI. Add columns in batch
Location: system settings-column management-batch add columns
Add multiple columns under the same model at a time
After reading this article, I believe you have a certain understanding of the method of phpcms new column, want to know more related knowledge, welcome to follow the industry information channel, thank you for reading!