Project

General

Profile

Actions

Story #62394

closed

TCA Overrides autoloader

Added by Sabine Deeken over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-10-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Sprint Focus:

Description

Hello everybody,

I have just extended the pages table, like described here with tt_content: http://docs.typo3.org/typo3cms/TCAReference/ExtendingTca/Examples/Index.html
the TCA Overrides just appear in the TYPO3 Backend after I called them from ext_tables.php
with

include_once(TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY)."Configuration/TCA/Overrides/pages.php");

If it is ok to call the Configuration Overrides like this it would be nice to find it in the Documentation,
but if there is an if-clause needed (I just copied from the git-Version of direct_mail, there is an if-clause, depending on the tt_address version as it looks:
if (VersionNumberUtility::convertVersionNumberToInteger(TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getExtensionVersion('tt_address')) <= VersionNumberUtility::convertVersionNumberToInteger('2.3.5')) {

)

With the best regards,
Sabine

Actions

Also available in: Atom PDF