开源 免费 java CMS - FreeCMS1.5 标签 channel

下载地址:http://code.google.com/p/freecms/   google

channel spa

根据参数提取栏目对象。 3d

参数 code

说明 对象

id get

栏目id it

siteid table

栏目所属站点id 下载

pagemark bug

栏目页面标识

checkHasSon

从FreeCMS 1.5开始支持

是否检查有子栏目 1是

返回值

说明

channel

栏目对象,类型为数据对象channel

示例1

根据栏目id提取栏目。

<@channel id="d8aa15d1-710c-4931-8c3b-b0b2d3db3d56" ;channel>

${channel.name}

</@channel>

示例2

根据站点id和栏目页面标识提取栏目。

<@channel siteid="${site.id}" pagemark="bug" ;channel>

${channel.name}

</@channel>

相关文章
相关标签/搜索