Home  >  Article  >  CMS Tutorial  >  How to call custom fields in DreamWeaver

How to call custom fields in DreamWeaver

王林
王林Original
2019-11-07 09:50:182559browse

How to call custom fields in DreamWeaver

The custom field of DedeCMS is to add an additional table. To call the content of the additional table, the explanation document provided by the official website of DedeCMS says:

To obtain additional table content, two conditions must be met:

1. Specify the channelid attribute, that is, channelid='content model id'

2. Specify to obtain The fields, that is, addfields='Field 1, Field 2'

are as follows:

{dede:arclist addfields="filetype,language,softtype" channelid='3'}
[field:textlink /] - [field:softtype /]
{/dede:arclist}

Through this example, it is very confusing, but it will be easy to understand after the following explanation.

{dede:arclist addfields='附加字段1,附加字段2,附加字段3' channelid='内容模型id号'}
[field:textlink /] - [field:附加字段1/] - [field:附加字段2/] - [field:附加字段3/]
{/dede:arclist}

In this way, you can easily call the custom fields of articles in the list anywhere on the site.

Recommended tutorial: dedecms tutorial

The above is the detailed content of How to call custom fields in DreamWeaver. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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