[TYPO3-core] RFC #16096 Bug: addToAllTCATypes after certain fields does not work anymore
Steffen Kamper
info at sk-typo3.de
Thu Dec 16 12:21:30 CET 2010
Hi,
the following patch fixes that, there was no case for empty position.
BTW - dam_content has to be patched too as str_replace doesn't work
anymore. So i had to replace
$TCA['tt_content']['types']['image']['showitem'] = str_replace(',
image;', ', tx_damttcontent_files;',
$TCA['tt_content']['types']['image']['showitem']);
with
t3lib_extMgm::addToAllTCAtypes('tt_content','tx_damttcontent_files','image','replace:image');
then all works fine. So +1 by reading and testing.
Is there any chance to get this hacky str_replace work?
vg Steffen
More information about the TYPO3-team-core
mailing list