[TYPO3-german] cal base - Monthview -> List view mit dynamischen datum

bernd wilke t3ng at bernd-wilke.net
Fri Nov 21 11:43:39 CET 2014


Am 21.11.14 11:22, schrieb Paul Kamma:
> OK. Die frage ist nur wie bekomme ich die Daten aus der URL da rein. Es
> sind 3 Werte
>
> gp:tx_cal_controller|year
> gp:tx_cal_controller|month
> gp:tx_cal_controller|day
>
> die sollen dann das Datum aufbauen
>
> gp:tx_cal_controller|year + . + gp:tx_cal_controller|month + . +
> gp:tx_cal_controller|day
>
> Funktioniert ja leider nicht :)

entweder COA:

starttime.cObject = COA
starttime.cObject {
   10 = TEXT
   10.data = GP:tx_cal_controller|day
   10.wrap =  |.

   20 < .10
   20.data = GP:tx_cal_controller|month

   30 < .10
   30.data = GP:tx_cal_controller|year
   30.wrap >
}

oder dataWrap

starttime.cObject = TEXT
starttime.cObject.dataWrap = 
{GP:tx_cal_controller|year}.{GP:tx_cal_controller|month}.{GP:tx_cal_controller|day}

bzw.
starttime.cObject = TEXT
starttime.cObject.value = 
{GP:tx_cal_controller|year}.{GP:tx_cal_controller|month}.{GP:tx_cal_controller|day}
starttime.cObject.insertData = 1

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-german mailing list