<var id="xvh3p"><noframes id="xvh3p"><var id="xvh3p"></var><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing>
<var id="xvh3p"><strike id="xvh3p"><var id="xvh3p"></var></strike></var><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<span id="xvh3p"><noframes id="xvh3p"><dl id="xvh3p"></dl>
<span id="xvh3p"><noframes id="xvh3p">
<dl id="xvh3p"><noframes id="xvh3p">
<listing id="xvh3p"><noframes id="xvh3p"><listing id="xvh3p"><strike id="xvh3p"><listing id="xvh3p"></listing></strike></listing><th id="xvh3p"><strike id="xvh3p"><th id="xvh3p"></th></strike></th>
<th id="xvh3p"><strike id="xvh3p"></strike></th>
<dl id="xvh3p"><noframes id="xvh3p">
<th id="xvh3p"><noframes id="xvh3p">

观点

互联网+时代,说建站,谈运营与网络营销

dede二级栏目如何调用????

时间:2020-12-14







1、调出所有栏目以及栏目下的二级栏目 {dede:channelartlist typeid='top'} <a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a> {dede:channel type='son' noself='yes'}<div><a href="[field:typelink/]">[field:typename/]</a></div>{/dede:channel} {/dede:channelartlist} 2、如果只调用当前栏目和栏目下的二级栏目的话就设typeid='数字'代码如下: {dede:channelartlist typeid='4,4'} <a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a> {dede:channel type='son' noself='yes'}<div><a href="[field:typelink/]">[field:typename/]</a></div>{/dede:channel} {/dede:channelartlist}
标签名称:channelartlist 功能说明:获取当前频道的下级栏目的内容列表标签 使用实例: {dede:channelartlist row=6} <dl> <dt><a href='{dede:field name='typeurl'/}'>{dede:field name='typename'/}</a></dt> <dd> {dede:arclist titlelen='42' row='10'} <ul class='autod'> <li><a href="[field:arcurl /]">[field:title /]</a></li> <li>([field:pubdate function="MyDate('m-d',@me)"/])</li> </ul> {/dede:arclist} </dl> {/dede:channelartlist} 参数说明: typeid = '0' 频道ID,多个请用","分隔 row = '20' 获取的栏目返回值 其他说明: 除了宏标记外,channelArtlist 是唯一一个可以直接嵌套其它标记的标记,不过仅限于嵌套 {dede:type}{/dede:type} 和 {dede:arclist}{/dede:arclist} 两个标记。
0
首页
案例
关于
联系