[TYPO3-english] View label when using multiple records in the list view
Guillermo R. Oramas J.
oramas.g at gmail.com
Sun Jul 3 20:45:44 CEST 2011
Sure! Thanks Jigal.
This is the TCA of tx_oriorg_regions. The other table is similar to this.
$TCA['tx_oriorg_regions'] = array (
'ctrl' => $TCA['tx_oriorg_regions ']['ctrl'],
'interface' => array (
'showRecordFieldList' => 'hidden,nombre_en,nombre_es'
),
'feInterface' => $TCA['tx_oriorg_regions']['feInterface'],
'columns' => array (
'hidden' => array (
'exclude' => 1,
'label' =>
'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
'config' => array (
'type' => 'check',
'default' => '0'
)
),
'nombre_en' => array (
'exclude' => 1,
'label' =>
'LLL:EXT:ori_tablas_comunes/locallang_db.xml: tx_oriorg_regions.nombre_en',
'config' => array (
'type' => 'input',
'size' => '30',
'max' => '50',
'eval' => 'required,trim',
)
),
'nombre_es' => array (
'exclude' => 1,
'label' =>
'LLL:EXT:ori_tablas_comunes/locallang_db.xml: tx_oriorg_regions.nombre_es',
'config' => array (
'type' => 'input',
'size' => '30',
'max' => '50',
'eval' => 'required,trim',
)
),
),
'types' => array (
'0' => array('showitem' => 'hidden;;1;;1-1-1, nombre_en,
nombre_es')
),
'palettes' => array (
'1' => array('showitem' => '')
)
);
And this is in the ext_tables.php file:
$TCA['tx_oriorg_regions'] = array (
'ctrl' => array (
'title' => 'LLL:EXT:ori_tablas_comunes/locallang_db.xml:
tx_oriorg_regions',
'label' => 'nombre_es',
'rootLevel' => 1,
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'default_sortby' => 'ORDER BY nombre_es',
'delete' => 'deleted',
'enablecolumns' => array (
'disabled' => 'hidden',
),
'dynamicConfigFile' =>
t3lib_extMgm::extPath($_EXTKEY).'tca.php',
'iconfile' =>
t3lib_extMgm::extRelPath($_EXTKEY).'icon_ tx_oriorg_regions.gif',
),
);
-----Mensaje original-----
De: typo3-english-bounces at lists.typo3.org
[mailto:typo3-english-bounces at lists.typo3.org] En nombre de Jigal van Hemert
Enviado el: Domingo, 26 de Junio de 2011 10:25
Para: typo3-english at lists.typo3.org
Asunto: Re: [TYPO3-english] View label when using multiple records in the
list view
Hi,
On 24-6-2011 15:26, Guillermo R. Oramas J. wrote:
> I don't know what are you talking about table label. Could you explain
> it?. Maybe there is the problem.
I was referring to the TCA of the tables you link to in the carea field;
tx_oriorg_regions, tx_oriorg_countries.
Can you give the TCA of those tables?
--
Kind regards / met vriendelijke groet,
Jigal van Hemert.
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list