Top-level column calls
{dede:channel type= ' top ' row= ' 10 '}
<a href= ' [field:typeurl/] ' ><span>[field:typename/]</span></a>
{/dede:channel}
Call labels for level two columns
{dede:channel typeid= ' type= ' son '}
<dd><a href= ' [field:typelink/] ' >[field:typename/]</a></dd>
{/dede:channel}
The call label for the new model's document
{dede:arclist row= ' 4 ' typeid= ' channelid= ' + ' flag = ' h ' addfields= ' Name,area,role,school,jianjie '}
Ps:row=5 the number of rows displayed by the record
Typeid= ' 25 ' shows the channel ID
Channelid = 17 Model ID
flag= ' h ' document marked as headline
addfields= ' field, must follow the sort description in the model
Calls to global variables
{dede:global.phone/}
Template directory:
{dede:global.cfg_templets_skin/}
Header/Foot file included
{dede:include filename= "header.htm"/}
General article type
Current location: {Dede:field name= ' position '/}
Article name: {dede:field.title/}
Release date: {dede:field.pubdate function= "mydate (' y-m-d h:i ', @me)"/}
Source: {dede:field.source/}
Author: {dede:field.writer/}
First Picture: {Dede:field name= ' imgurls ' alt= ' picture output area '}
Article content: {dede:field.body/}
Previous {Dede:prenext get= ' pre '/}
Next {dede:prenext get= ' next '/}
Site name: {dede:global.cfg_webname/}
Paging {dede:pagelist listitem= "Info,index,end,pre,next,pageno" listsize= "5"/}
Picture Set model
List page Jump details page URL address: [field:arcurl/]
Thumbnail Image: [field:litpic/]
Picture title: [field:title/]
Section Jump Address
{dede:arclist typeid= ' 1 ' row= ' 1 ' addfields= ' redirecturl ' channelid= ' 1 ' orderby= ' pubdate '}
<a href= "[field:redirecturl/]" target= "_blank" >[field:title/]</a>
{/dede:arclist}
Friendship Link Traversal:
{dede:flinktype type= "Dedecms"}
<a href= "#" _for= "Flink_[field:id/]" >[field:typename/]</a>
{/dede:flinktype}
Picture Collection Traversal
{dede:arclist row=10 orderby=pubdate type= ' image. ' imgwidth= ' 143 ' imgheight= ' 106 '}
<li><a href= "[field:arcurl/]" >[field:image/]<span class= "title" >[field:title/]</span> </a></li>
{/dede:arclist}
Article Type traversal:
<div class= "ListBox" > {dede:channelartlist}
<DL class= "Tbox" >
<dt><strong><a href= "{dede:field name= ' typeurl '/}" >{dede:field name= ' TypeName '/}</a></ Strong><span class= "More" ><a href= "{dede:field name= ' typeurl '/}" > More ... </a></span></ Dt>
<dd>
<ul class= "D1 Ico3" >
{dede:arclist titlelen= ' row= ' 8 '}
<li><span>[field:pubdate function= "mydate (' m-d ', @me)"/]</span><a href= "[Field:arcurl/]" > [Field:title/]</a></li>
{/dede:arclist}
</ul>
</dd>
</dl>
{/dede:channelartlist} </div>
[field:title/]
This article is from the "11113972" blog, please be sure to keep this source http://11123972.blog.51cto.com/11113972/1884827
DEDECMS Common label calls