[TYPO3-mvc] Configuration/TCA/Overrides not working
Matthew Colton
mat.colton at web-xs.de
Fri May 1 19:14:39 CEST 2015
Dumb answer, I misunderstood your question...
Calendar Base defines the ext_tables.php and tca.php.
Cheers
Mat
Am 01.05.2015 um 18:59 schrieb Matthew Colton:
> None of both, it's a table from the extension calendar base (extkey: cal).
>
> Am 01.05.2015 um 12:57 schrieb Frans Saris:
>> Is the table you try to extend defined in ext_tables.php or in a dedicated
>> file in TCA folder?
>>
>> Gr. Frans
>> Op 1 mei 2015 12:10 schreef "Matthew Colton" <mat.colton at web-xs.de>:
>>
>>> Hi all,
>>> I'm trying to add an extra table and an extra field to an existing
>>> table. It is no problem to add an extra table. But my effort to add an
>>> extra field to an existing table fails.
>>>
>>> Well, actually it works as long as I ignore the Typo3 Extbase guidelines.
>>> :)
>>>
>>> The following works fails in
>>> Configuration/TCA/Overrides/tx_cal_location.php
>>> but works in
>>> ext_tables.php:
>>>
>>> ***********************************************************
>>>
>>> $calDistrictTempColumns = array(
>>> 'tx_calext_district_id' => array(
>>> 'exclude' => 0,
>>> 'label' =>
>>>
>>> 'LLL:EXT:calext/Resources/Private/Language/locallang_db.xlf:tx_cal_location.tx_calext_district_id',
>>>
>>> 'config' => array(
>>> 'type' => 'select',
>>> 'items' => array(
>>> array('', 0),
>>> ),
>>> 'foreign_table' => 'tx_calext_domain_model_district',
>>> 'foreign_table_where' => '',
>>> 'size' => 1,
>>> 'minitems' => 0,
>>> 'maxitems' => 1,
>>> )
>>> ),
>>> );
>>>
>>> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
>>> 'tx_cal_location',
>>> $calDistrictTempColumns,
>>> TRUE
>>> );
>>>
>>> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
>>> 'tx_cal_location',
>>> 'tx_calext_district_id'
>>> );
>>>
>>> ***********************************************************
>>>
>>> Any ideas why this fails?
>>>
>>> Thanks in advance,
>>> Mat
>>> _______________________________________________
>>> TYPO3-project-typo3v4mvc mailing list
>>> TYPO3-project-typo3v4mvc at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>>>
>> _______________________________________________
>> TYPO3-project-typo3v4mvc mailing list
>> TYPO3-project-typo3v4mvc at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>
More information about the TYPO3-project-typo3v4mvc
mailing list