{dede:channelartlist type ='top' typeid ='1,2,3,4,5,6' row='5' }定义调取栏目,不然列表页会调取当前栏目
{dede:field name ='typename'/}
{dede:channel type ='son' row='8' }
<a href="[field:typeurl/]" >[field:typename/]</a>
{/dede:channel}
{/dede:channelartlist}
这种是缩写形式文章链接[field:textlink/]= <a href='[field:arcurl/]'>[field:title/]</a>
栏目链接[field:typelink/] = <a href='[field:typeurl/]'>[field:typename/]</a>
图片链接[field:imglink /]= <a href='[field:arcurl/]'><img src='[field:picname/]' border='0' width='imgwidth' height='imgheight'></a>
{dede:typetypeid='1'}[field:typename/]{/dede:type}\x0d\x0a{dede:typetypeid='2'}[field:typename/]{/dede:type}\x0d\x0a{dede:typetypeid='8'}[field:typename/]{/dede:type}\x0d\x0a{dede:typetypeid='9'}[field:typename/]{/dede:type}\x0d\x0a这样就能调用1289这四个栏目,希望能帮到你,望采纳。欢迎分享,转载请注明来源:内存溢出
评论列表(0条)