Dream Weaving custom fields require special settings to be called in any template, or to be called in {dede:list} and {dede:arclist} tags.
Custom fields are fields that are customized for the list attached fields.
One, dream weaving how to add a custom field:
Website backstage "core channel model" content Model Management Select the channel model to which you want to add a custom field, with an example of a picture collection channel
Note: Create field, foreground parameter here "make the field available in the bottom template of the list" This must be checked
Add a new field in field management (Price attribute)
Add Jiage (can be called in the list template {dede:list}{/dede:list} using [Field:name/]) in the list additional field in the basic settings
Second, weaving dreams how to call custom fields:
1. Called in {dede:list}
{dede:list pagesize= ' 5 ' addfields= ' jiage ' channelid= ' 2 '}
<P> title:[field:title/]</p>
<P> Price:[field:jiage/]</p>
{/dede:list}
Description: addfields= ' jiage ' specifies the field to get addfields= ' field 1, Field 2 '
Channelid= ' 2 ' specifies the Channelid attribute (id value of the content model) the ID of the picture model is 2
2. Called in {dede:arclist}
{dede:arclist typeid= ' 3 ' row= ' 4 ' addfields= ' jiage ' channelid= ' 2 '}
<P> title:[field:title/]</p>
<P> Price:[field:jiage/]</p>
{/dede:arclist}
3. Call separately
Price: {dede:field name= ' jiage '/}
Weaving dreams ways to add and invoke custom fields