Open source java CMS - FreeCMS2.8 custom label infoAttchs

Project Address: http://www.freeteam.cn/

infoAttchs

From the beginning FreeCMS 2.2 recommended uploadfile label.

Extraction attachment object; The accessory string (separated by between a plurality).

parameter

Explanation

attchStr

Annex string (in between a plurality; partition)

 

return value

Explanation

attchUrl

Accessories Address

attchName

accessory name

index

index

size

From the beginning FreeCMS 2.4 support

List Length

 

Example 1

Extraction accessories

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

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

</@infoAttchs>


Guess you like

Origin blog.51cto.com/3357346/2408203