Gestion de Contenu de Bureau
Copyright 2001-2002 Fog Creek Software. Tous Droits Réservés.
Traduction en cours par elanceur
[Retour Sommaire Général
Aide > MenuAideCityDesk/CoderAvecCityScript/MemoReferenceCode.html]
Champs :
headline, author, body, fileddate, filedtime, keywords, teaser, sidebar, about, extra1, extra2, link, abslink, filename
Boucles :
{$ 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) $}
{$ if blank var $} .... {$ endif $}
{$ if nonblank var $} .... {$ endif $}
(all)
(today)
(publishdate)
(before today) or (before publishdate) or (before yyyy/mm/dd )
(after today) or (after publishdate) or (after yyyy/mm/dd )
Last 14 days: (after today-14)
(folder "foldername")
(keyword_contains "keyword")
(author "name")
(filename "name")
(not (condition))
(or (condition1) (condition2))
(and (condition1) (condition2))
Régler l'affichage de l'heure et de la date :
{$ setDateTimeFormat "language" "dateFormat" "timeFormat" $}
dateFormat: d, dd, ddd, dddd, M, MM, MMM, MMMM, y, yy, yyyy, gg
timeFormat: h, hh, H, HH, m, mm, s, ss, t, tt