织梦如何在arclist中调用顶级栏目的名称和链接?
<a id="{dede:field name='id'/}" href={dede:field name='typeurl'/}" class="tablink arwlink">{dede:field name='typename'/}</a> //顶级栏目名称和链接
{dede:channel type='son' noself='yes'}
<li> <a href="[field:typelink/]">[field:typename/]</a> </li> //子栏目名称和链接
{/dede:channel}
{/dede:channelartlist}
{dede:type typeid="1"}
<a href=" [field:typelink /] "> [field:typename/] </a>
{/dede:type}
指定栏目--{dede:type typeid='350'}<a href="[field:typelink /]">[field:typename /]</a>{/dede:type}
{dede:channelartlistrow='5' typeid='14,22,30,40,49'}
<li>
<a href="">{dede:fieldname='typeurl'/} <img src="{dede:globalcfg_templets_skin/}/images/0{dede:globalitemindex/}jpg" alt="{dede:fieldname='typename'/}" width="243" height="120" />
<div class="te-s">
<h3>{dede:fieldname='typename'/}</h3>
<p>
{dede:arclist
titlelen='120' row='8'}
<a
href="[field:arcurl /]" title="[field:title/]"
target="_blank" >[field:title/]</a>
{/dede:arclist}
</p>
</div>
</a>
</li>
{/dede:channelartlist}
0条评论