In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail the method of building a new model of phpcms for you. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
How does phpcms create a new model?
Log in to the PHPCMS backend and select manage content (top navigation)-- Model management (bottom left navigation)
Related recommendation: phpcms tutorial
Select add model, pop-up window, fill in according to your requirements, here I write the test model, click OK to save
After the model is added, click Field Management-add Field
Add the field name you need in the pop-up window. The type of input, etc.
After clicking OK, you will see that the field has been added.
Then start to modify, click content-column Management, and select the column to change the model. Note here that the column model can be modified only when the data in the column is 0. Here I have added a new column for the content model.
Select the column, modify, select the column model we just added in the column model drop-down tab, test the model, and make sure to save it.
OK, let's add an article to this column to see if the new model works. See, the new model works.
Matters needing attention
Note that when changing the column model, the column data must be 0 before it can be replaced.
Add moreinfo=1 when calling the custom model, and call the model field in English
This is the end of the method of building a new model for phpcms. I hope the above content can be of some help to you and learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.