dedecms What should I do if the software list page cannot call the software size after adding a field?
I recently made a template and wanted to use [field:softsize/] to call the software size on the software list page (list_soft.htm), only to find out that I needed a solution
Recommended learning:梦Weavercms
Ask a question: Why can’t I use [field:softsize/] to call the software size on the software list page (list_soft.htm)?
As shown below:
Do you see it? The size number after "Software Size:" is not called out. The code is as follows:
Date: [field:pubdate function="GetDateTimeMK(@me)"/] | Language: [field:language/] | Size: [field:softsize/]| Authorization: [field:accredit/]
So I thought there was something wrong with the title [field:softsize/], so I changed it to {dede:field. softsize/} (this is my first contact, so I don’t know whether the two labels are the same). As a result, the size number did not appear after the software size, but the label {dede:field.softsize/} appeared. There was no way I could I had no choice but to change it back, so I asked for help in the group.
Solve the problem: Enter Backstage-Core-->Channel Management-->Content Model Management.
As shown in the figure below:
Click the change button in the software bar: As shown in the figure:
After entering, you can see a column (list additional fields): as shown below:
In this column, I saw it Well, there is no softsize field in the list addition field. Let's add it. You can regenerate the website and the problem will be solved.
As for the field code, you can refer to: After clicking to enter, there is a field management label, as shown below:
Click to enter the field management: You You will see these field names, as shown below:
The above is the detailed content of What should I do if the software list page cannot call the software size after dedecms adds a field?. For more information, please follow other related articles on the PHP Chinese website!