Today you need to add some new fields to the content model of the article, adding two fields of the image type, which can not be displayed by the foreground (field cannot be shown). Let's take the first page call as an example: the default call to the article title in the Dedecms template is as follows: {dede:arclist row=6 titlelen=32} [FIELD:DBTP] {/dede:arclist} Then we invoke the custom The field is modified on this basis to achieve, we add two images as an example, the specific label shows: {dede:arclist row=8 titlelen=32 addfields= ' dbtp ' channelid= ' 1 '} [field: dbtp/] {/dede:arclist} we can see 2 different places compared to the first one: 1, titlelen=32 ' addfields= ' DBTP ' at {dede:arclist row=6 channelid=} 1 ', where addfields= ' dbtp ' means to specify the field to be obtained addfields= ' field 1, field ' channelid= ' 1 ' indicates which model the field belongs to, we refer to the article model added to so channelid= value of 1 ..。 Determine the ID of the article model, we found in the article Model Management in the red box is the Model ID 2, but also a "[field:dbtp/]" This is what we added to the field name when adding a field. If you need to call the custom field in {dede:list} on the list page, add "[field:dbtp/]" directly, but only if you have to select the parameter when you add the field. The above is about adding and calling methods for Dedecms custom fields.
Dede method for calling new fields in the content model