[TYPO3-core] RFC #16096 Bug: addToAllTCATypes after certain fields does not work anymore

Bjoern Pedersen bjoern.pedersen at frm2.tum.de
Thu Dec 16 13:20:04 CET 2010


Am 16.12.2010 12:21, schrieb Steffen Kamper:
> 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

Is the patch missing?

Björn


More information about the TYPO3-team-core mailing list