[TYPO3] label and label_alt
Nikolas Hagelstein
hagelstein at shr.cc
Thu Jun 15 10:18:52 CEST 2006
Hi,
The following is part of my ext_tables.php.
------------
$TCA["tx_myext_label"] = Array (
"ctrl" => Array (
'title' =>
'LLL:EXT:myext/locallang_db.xml:tx_myext_label',
'label' => 'dbtable',
'label_alt' => 'dbfield',
'label_alt_force' => 1,
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
"languageField" => "sys_language_uid",
"transOrigPointerField" => "l18n_parent",
"transOrigDiffSourceField" => "l18n_diffsource",
"default_sortby" => "ORDER BY dbtable,dbfield",
"delete" => "deleted",
'dividers2tabs' => '1',
"enablecolumns" => Array (
"disabled" => "hidden",
),
"dynamicConfigFile" =>
t3lib_extMgm::extPath($_EXTKEY)."tx_myext_label.tca.php",
"iconfile" =>
t3lib_extMgm::extRelPath($_EXTKEY)."icon_tx_myext_label.gif",
),
);
------------
I would expect the "list mode"-label consisting of
"dbtabel,dbfield"
But unfortunatly it is not. It consists of "dbtabel" only.
(While both fields are definitely not empty).
The strange thing is that during translation the
"original translation" field shows "dbtabel,dbfield"
dbtable an dbfield are both of type "select" using itemsProcFunc
for fetching the items array
any hints?
cheers,
Nikolas
More information about the TYPO3-english
mailing list