Project Address: http://www.freeteam.cn/
infoPreList
According to the list of parameters to extract information on several objects.
parameter |
Explanation |
siteid |
Id information belongs site |
channelid |
Information belongs columns id |
channelParid |
Column parid |
infoid |
Id Required information |
on one |
The default number is 1 |
beginnum |
From the beginning FreeCMS 1.7 support From the first few start from scratch representatives 0 |
order |
Sort Type 1 jacking effective and descending, descending Published 2 jacking effective and descending, ascending Published 3 Published Descending 4 Published Ascending From the beginning FreeCMS 2.5 support 5 jacking effective and descending sort in descending order number (default) 6 jacking effective and descending, ascending sort No. No. 7 Sort Descending No. 8 Sort Ascending |
titleLen |
Title display length |
titleSuffix |
From the beginning FreeCMS 1.7 support Display length exceeds plus suffix title |
hot |
Whether heat reverse-per-click, 1 is |
dateFormat |
Date Format |
channelPagemark |
Identification section pages |
channelParPagemark |
The parent tab page logo |
img |
News whether to extract the information with picture 1 is From the beginning FreeCMS 2.6 support 0 extract only information news without pictures |
checkOpenendtime |
Check the open time default does not check, check 1 |
isMobile |
From the beginning FreeCMS 1.8 support Whether to allow data to extract only mobile app is accessed 1 |
isfield |
From the beginning FreeCMS 2.0 support Query whether custom fields, No 1 0, default is |
orderby |
From the beginning FreeCMS 2.4 support Sorting sql, after setting failure order attribute |
return value |
Explanation |
info |
Information object, data object info type |
index |
index |
size |
From the beginning FreeCMS 2.4 support List Length |
Example 1
<@infoPreList infoid="${currInfo.id}" channelid="${currChannel.id}" titleLen="23" ; info,index>
<li><a href="${info.pageurl}">${info.showtitle}</a></li>
</@infoPreList>