Feature #19497

Integrate possibility to extend TCEforms palettes easily

Added by Oliver Hader over 12 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-10-22
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

The t3lib_extMgm API provides methods to add new fields to a table. However, there is no easy possibility to add fields to palettes.

The attached patch provides two new functions:
t3lib_extMgm::addNewFieldsToAllPalettesOfField($table, $field, $addFields, $insertionPosition = '');
t3lib_extMgm::addNewFieldsToPalette($table, $palette, $addFields, $insertionPosition = '');
(issue imported from #M9625)


Files

0009625.patch (13.2 KB) 0009625.patch Administrator Admin, 2008-10-22 18:59
0009625_v2.patch (12.1 KB) 0009625_v2.patch Administrator Admin, 2008-10-27 23:42
0009625_followup.patch (1.37 KB) 0009625_followup.patch Administrator Admin, 2008-11-06 00:32

Related issues

Related to TYPO3 Core - Feature #19512: Extend t3lib_div::trimExplode to limit the number of elementsClosedOliver Hader2008-10-27

Actions
Related to TYPO3 Core - Feature #19619: Backport OpenID authentication serviceClosedOliver Hader2008-11-17

Actions
Related to TYPO3 Core - Bug #19683: Extending palettes and fields to be displayed in back-end forms mixes up tabsClosedOliver Hader2008-12-04

Actions
#1

Updated by Martin Kutschker over 12 years ago

Fixed in SVN

#2

Updated by Stanislas Rolland over 12 years ago

I get

Warning: preg_replace() [function.preg-replace]: No ending delimiter ',' found in ....t3lib/class.t3lib_extmgm.php on line 431

The error is raised in function removeDuplicatesForInsertion introduced by this patch.

#3

Updated by Oliver Hader over 12 years ago

Hi Stan,
could you please test whether 0009625_followup.patch solves the problem on your side? Thanks!

#4

Updated by Oliver Hader over 12 years ago

Committed the follow-up patch to Trunk (rev. 4428)

Also available in: Atom PDF