[TYPO3-dev] What shouldn't exist in TCA/Overrides?

Hafiz Usman Ahmad hafizusman at gosign.de
Thu Apr 30 14:55:51 CEST 2015


I was working with 2 tca relevant functions, so decided to share with list

1. \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem
modifies only this  $GLOBALS['TCA'][$table]['columns'][$field]['config'],
so i think it can also be in its respective TCA/Overrides/xyz.php file

2. \TYPO3\CMS\Backend\Sprite\SpriteManager::addTcaTypeIcon modifes
$GLOBALS['TBE_STYLES'] so it should be in ext_tables.php

eventually,

What *can* exist in Overrides:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem()

What *should not* exist in Overrides:
\TYPO3\CMS\Backend\Sprite\SpriteManager::addTcaTypeIcon()

On Thu, Apr 30, 2015 at 5:49 PM, Caspar Stuebs <caspar at gosign.de> wrote:

>
> ---------- Forwarded message ----------
> From: Viktor Livakivskyi <invisible.kinder at gmail.com>
> Date: 2015-02-27 19:06 GMT+01:00
> Subject: Re: [TYPO3-dev] What shouldn't exist in TCA/Overrides?
> To: typo3-dev at lists.typo3.org
>
>
> Hey, Tim.
>
> Many thanks for your answer: it guided me into right way.
>
> After some code smoking and tries I can share my experience here.
>
> What *can* exist in Overrides:
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette();
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue();
> [tt_content.php]
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile();
> [sys_template.php]
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns();
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes();
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable();
> \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin();
> [tt_content.php]
>
> What *should not* exist in Overrides:
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr();
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig();
>
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages();
> \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule();
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>
>


-- 
regards;
Hafiz Usman Ahmad

-- 
-- 

Gosign media. GmbH | We web ideas.
Langenfelder Damm 67 Gewerbehof | 22525 Hamburg
Telefon 040-609 40 79-0

Handelsregister AG HH HRB 112197 | Geschäftsführung Bert Gogolin
Greenpeace energy: Gosign läuft mit ehrlichem Strom und Gas.
GLS Bank: Gosign wirtschaftet mit Gewissen. 

-- 
-- 

Gosign media. GmbH | We web ideas.
Langenfelder Damm 67 Gewerbehof | 22525 Hamburg
Telefon 040-609 40 79-0

Handelsregister AG HH HRB 112197 | Geschäftsführung Bert Gogolin
Greenpeace energy: Gosign läuft mit ehrlichem Strom und Gas.
GLS Bank: Gosign wirtschaftet mit Gewissen. 



More information about the TYPO3-dev mailing list