Hallo Zusammen,
ich würde gerne die Datensätze in meinem Modul anhand eines Datums formatieren.
Hierzu der Auszug aus meinem Code:
PHP-Code:
'sorting' => array
(
'mode' => 1,
'fields' => array('billDate'),
'flag' => 1
),
PHP-Code:
'billDate' => array
(
'label' => &$GLOBALS['TL_LANG']['tl_li_bill']['billDate'],
'exclude' => true,
'inputType' => 'text',
'eval' => array('mandatory'=>true, 'rgxp'=>'date', 'datepicker'=>$this->getDatePickerString(), 'tl_class'=>'w50 wizard')
)
Das Problem ist, dass ich jetzt nur eine "1" als Kopfzeile angezeigt bekomme und alle Datensätze darunter. Also ohne wirkliche Sortierung.
Könnt ihr mir da weiterhelfen?
Gruß
Freshlifepages
Lesezeichen