|
|
Rapide Référence de Code
headline,author,body,filedDate,filedTime,modifiedDate,modifiedTime,keywords,teaser,sidebar,about,extra1,extra2,link,absLink, fileName
{$ foreach var in (condition) $} .... {$ next $}
{$ foreach var in (condition) SortAscendBy .field $} .... {$ next $}
{$ foreach var in (condition) SortDescendBy .field $} .... {$ next $}
Top 10 articles : {$ foreach 10 var in (condition) $}
Autres sections : between, before, after, else, odd, evenLiens vers Article Précédent ou Article Suivant
{$ nextLink|previousLink n var in (condition) sort $} ...
{$ else $} ... {$ end $}Commandes Conditionnelles avec "if"
{$ if blank var $} .... {$ endif $}
{$ if nonblank var $} .... {$ endif $}Conditions (Déterminer Quels Articles Inclure)
(all)
(today)
(publishdate)
(before today or publishDate or yyyy/mm/dd )
(after today or publishDate or yyyy/mm/dd )
(monthOf today or publishDate or yyyy/mm/dd )
(yearOf today or publishDate or yyyy/mm/dd )
Last 14 days : (after today-14)
(folder "foldername")
(thisFolder)
(thisArticle)
(keywordContains "keyword")
(author "name")
(filename "name")
(not (condition))
(or (condition1) (condition2))
(and (condition1) (condition2))Régler Affichage Date et Heure
{$ setDateTimeFormat "language ou *" "dateFormat" "timeFormat" $}
dateFormat : d, dd, ddd, dddd, M, MM, MMM, MMMM, y, yy, yyyy, gg, short, long
timeFormat : h, hh, H, HH, m, mm, s, ss, t, tt{$ publishDate $}
{$ publishTime $}
{$ today $}
{$ now $}Forcer les Liens à Etre Absolus
{$ withAbsoluteLinks "url" $}
Inclure un Article à l'intérieur d'un Autre
{$ include "article" $}
Retour Accueil Documentation CityDesk
Traduction : christophe ducamp