君语贤
时光静好,与君语;细水流年,与君同;繁华落尽,与君老...

织梦开发>标签类>正文

channel栏目列表标签[全局标签]

2019-01-24 12:17 君语贤channel全局标签标签栏目列表

channel栏目列表标签[全局标签]

标签名称:channel

功能说明:获取指定条件的栏目列表

应用代码

{dede:channel type='' row='' current"

<a class="样式" HRef="~typelink~">~typename~</a> "}

[field:typeurl/] 栏目链接

[field:typename/] 栏目名

{/dede:channel}

参数信息属性='值')

typeid ='' 栏目ID

reid ='' 上级栏目ID

row = '' 调用栏目数

col = '' 分多少列显示(默认为单列)

type ='' son表示下级栏目,self表示同级栏目,top顶级栏目

currentstyle ="" 应用样式,该属性是用来做“访问某个页面,某个页面的栏目就自动效果特效的.

单独调用单独一个指定栏目的标签

{dede:type typeid='ID'}

[field:typeurl/] 栏目链接 [field:typename/] 栏目名称

示例如下:

<a href="[field:typeurl/]"> [field:typename/] </a> {/dede:type}

本文链接:https://www.weguiding.com/biaoqian/311.html