Channel Management -> Content Model Management"; then click the change button in the software bar and add "softsize" field; finally regenerate the website."> What should I do if the software list page cannot call the software size after dedecms adds a field?-DEDECMS-php.cn
Home> CMS Tutorial> DEDECMS> body text

What should I do if the software list page cannot call the software size after dedecms adds a field?

藏色散人
Release: 2019-12-17 09:25:01
Original
1778 people have browsed it

What should I do if the software list page cannot call the software size after dedecms adds a field?

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:

What should I do if the software list page cannot call the software size after dedecms adds a field?

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:

What should I do if the software list page cannot call the software size after dedecms adds a field?

Click the change button in the software bar: As shown in the figure:

What should I do if the software list page cannot call the software size after dedecms adds a field?

After entering, you can see a column (list additional fields): as shown below:

What should I do if the software list page cannot call the software size after dedecms adds a field?

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:

What should I do if the software list page cannot call the software size after dedecms adds a field?

Click to enter the field management: You You will see these field names, as shown below:

What should I do if the software list page cannot call the software size after dedecms adds a field?

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!