[TYPO3-dev] TCA ctrl label with dates
Christoph Koehler
christoph.koehler at gmail.com
Sun May 13 01:07:59 CEST 2007
Hello all,
In my extension's ext_tables.php I have the following code to configure
event records:
$TCA["tx_paradigm_events"] = array (
"ctrl" => array (
'title' => 'LLL:EXT:paradigm/locallang_db.xml:tx_paradigm_events',
'label' => 'date',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'default_sortby' => "ORDER BY date",
'delete' => 'deleted',
'enablecolumns' => array (
'disabled' => 'hidden',
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php',
'iconfile' =>
t3lib_extMgm::extRelPath($_EXTKEY).'icon_tx_paradigm_events.gif',
),
"feInterface" => array (
"fe_admin_fieldList" => "hidden, date, location, speaker",
)
);
Note the ctrl -> label -> date part. It shows the date alright, just as a
timestamp. It used to convert that to a real date, but now it doesn't
anymore. Any idea how I can make it do that again?
Thanks!
Christoph
More information about the TYPO3-dev
mailing list