Story #62394
closedTCA Overrides autoloader
0%
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
Updated by Markus Klein about 10 years ago
- Status changed from New to Needs Feedback
Please ask questions on the forum first, thanks.
You don't need to include anything, just place the file in that folder and the Core will include it automatically.
Updated by Sabine Deeken about 10 years ago
hm, that was what I did first, but the field did not appear. really.
it was similar as here: https://forge.typo3.org/issues/59397 but in the pages table
Updated by Sabine Deeken about 10 years ago
uh? removed the line in ext_tables.php, but the field still there. Wonder where it was in the beginning.
??
maybe because I first had no ext_tables.php file...
+1
Updated by Markus Klein about 10 years ago
- Status changed from Needs Feedback to Closed
You need to clear the system caches