開源 java CMS - FreeCMS2.8 自定義標籤 infoAttchs

項目地址:http://www.freeteam.cn/spa

​​​​​​​infoAttchs對象

從FreeCMS 2.2開始推薦使用uploadfile標籤。索引

根據附件字符串(多個之間用;分隔)提取附件對象。ci

參數字符串

說明get

attchStrtable

附件字符串(多個之間用;分隔)file

 

返回值項目

說明top

attchUrl

附件地址

attchName

附件名稱

index

索引

size

從FreeCMS 2.4開始支持

列表長度

 

示例1

提取信息附件

<@infoAttchs attchStr="${currInfo.attchs}";attchUrl,attchName>

<a href="${attchUrl}" target="_blank">${attchName}</a><br/>

</@infoAttchs>

相關文章
相關標籤/搜索