[TYPO3-mvc] Configuration/TCA/Overrides not working

Frans Saris franssaris at gmail.com
Sat May 2 10:40:35 CEST 2015


Hi,

The tca overrides only work for tca that is defined in TCA folder. So only
if the main configuration is also in the new structure. If it defined in
ext_tables.php you can only override it in ext_tables.php.

Gr. Frans

Some extra read about the new structure
http://ab-softlab.tumblr.com/post/90851249969/tca-manipulation-in-typo3-6-2
Op 1 mei 2015 19:14 schreef "Matthew Colton" <mat.colton at web-xs.de>:

> 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
> >
> _______________________________________________
> 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