fastadmin开发手册

栏目详情信息 cms:channel


栏目详情标签仅用于栏目详情展示页,不适用于其它页面。

使用范围


栏目详情页

标签参数


| 名称 | 介绍 | 必选 |
| --- | --- | --- |
| name | 栏目表cms_channel字段名称或自定义字段名称 | 否 |

调用示例


``html

{cms:channel name="name" /}


{cms:channel name="image" /}
``


温馨提示


如果栏目详情标签不能满足你的需求,你可以直接在栏目详情页面使用{$CHANNEL.title}的形式来调用栏目的相关信息,比如我们需要判断{if $CHANNEL.image!=''}图片不能空{/if},比如我们可以时间函数处理字段{$CHANNEL.createtime|datetime}

10 Screens$8,029

I will design rough sketches for upto 5 Screens of your website/Mobile app.

3 Days Delivery 1 Revision
  • Source File
  • Commercial Use
  • Interactive Mockup
  • 10 Pages

20 Screens$16,029

I will design rough sketches for upto 5 Screens of your website/Mobile app.

3 Days Delivery
  • Source File
  • Commercial Use
  • Interactive Mockup
  • 10 Pages

30 Screens$24,029

I will design rough sketches for upto 5 Screens of your website/Mobile app.

3 Days Delivery
  • Source File
  • Commercial Use
  • Interactive Mockup
  • 10 Pages
0.324853s