Issue Bug Closed

#32332the new "t3lib_extMgm::addNewFieldsToAllPalettes" is still buggy

Gabriel Kaufmann TYPOworx GmbH | NewMedia 12/06/11, 13:36 updated 10/02/18, 12:19

Description

I noticed that I still cannot use the new introduced helper-function “t3lib_extMgm::addNewFieldsToAllPalettes” mentioned to be available for TYPO3 4.6.0 (and above).

I still get a Fatal PHP-Error that this function isn’t available, so that dirty-hacks in ext_tables.php are necessarily to gain the same result.

Here is a dummy code that I tried (produces Fatal Error in PHP):
@
t3lib_extMgm::addNewFieldsToAllPalettes(‘tt_address’, 2, ‘tx_mycustomfield’, ‘after:company’);
@

I would expect the field tx_mycustomfield to be added to the existing palette-definition number 2 of EXT:tt_address.

The result ends in a Fatal PHP-Error mentioning that this function is not available.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.