组合的头部导航
<ul class="nav clearfix" id="nav">
<li {dede:field name=typeid runphp="yes" }(@me=="" )? @me=" class='hover' " :@me="" ;{/dede:field}><a class="aLink" href="/">网站首页<i></i></a></li>
{dede:channelartlist row='8' typeid='top' currentstyle='hover'}
<li class='{dede:field.currentstyle/}'><a class="aLink" href="{dede:field name='typeurl'/}" title="{dede:field name='typename'/}">{dede:field name='typename'/}<i></i></a>
<ul class="subnav">
{dede:channel type='son' noself='yes'}
<li class="nav1"><a href="[field:typelink/]" title="[field:typename/]">[field:typename/]</a></li>
{/dede:channel}
</ul>
</li>
{/dede:channelartlist}
</ul>
常见的图文调用
{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}
带有筛选的调用
图文调用带描述
{dede:arclist row='3' titlelen='30' typeid='5'}
<li><a href="[field:arcurl/]">
<div class="inf">
<dl>
<dt><b>[field:title/]</b></dt>
<dt><small>[field:shorttitle/]</small></dt>
<dd>[field:description function="cn_substr(@me,404)"/]...</dd>
</dl>
</div>
<div class="photo">
<img src="[field:litpic/]" alt="[field:title/]">
</div>
</a></li>
{/dede:arclist}
文章时间的调用
代码:[field:pubdate function="MyDate('Y-m-d',@me)" /] 样式:2013-08-07
代码:[field:pubdate function="MyDate('m-d',@me)" /] 样式:08-07
代码:[field:pubdate function="MyDate('Y-m-d H:i:s',@me)" /] 样式:2013-08-07 09:14:38
调用单独的指定栏目
{dede:type typeid='11'}<a href="[field:typeurl/]">[field:typename/]</a> {/dede:type}
{dede:type}[field:typename/]{/dede:type}
基本的导航栏目调用
{dede:channel type='top' row='10' currentstyle="<li class='hover'><a href='~typelink~' ~rel~><span>~typename~</span></a></li>"}
<li><a href='[field:typeurl/]' [field:rel/]><span>[field:typename/]</span></a></li>
{/dede:channel}