Project

General

Profile

Actions

Bug #32332

closed

the new "t3lib_extMgm::addNewFieldsToAllPalettes" is still buggy

Added by Gabriel Kaufmann / Typoworx NewMedia almost 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2011-12-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF