[TYPO3] date cached
Dmitry Dulepov
typo3 at accio.lv
Fri Jul 28 13:46:10 CEST 2006
Hi!
Andrea Giorgini wrote:
> yes that is what I thought I should do. Something about TS should still
> missing in my mind, because I did:
>
> temp.date1 = COA_INT
temp.mydate = COA_INT
> temp.date1 {
> 10.temp.mydate = TEXT
No, "10" is the object! But if you define it like you did, there is no
type for object "10"! Should be so:
temp.mydate.10 = TEXT
Try both and look into TypoScript Object browser how they differ!
> [dayofmonth = 1,21,31]
Conditions do not work inside { } block, so:
[dayofmonth = 1,21,31]
temp.mydate.10.dataWrap={date: l d}<sup>st</sup> of {date: F} {date: Y}
[dayofmonth = 2,22]
temp.mydate.10.dataWrap={date: l d}<sup>nd</sup> of {date: F} {date: Y}
[dayofmonth = 3,23]
temp.mydate.10.dataWrap={date: l d}<sup>rd</sup> of {date: F} {date: Y}
[else]
temp.mydate.10.dataWrap={date: l d}<sup>th</sup> of {date: F} {date: Y}
[global]
Dmitry.
--
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-english
mailing list