Feature #19497

Integrate possibility to extend TCEforms palettes easily

Added by Oliver Hader about 11 years ago. Updated over 9 years ago.

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

0%

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)

0009625.patch View (13.2 KB) Administrator Admin, 2008-10-22 18:59

0009625_v2.patch View (12.1 KB) Administrator Admin, 2008-10-27 23:42

0009625_followup.patch View (1.37 KB) Administrator Admin, 2008-11-06 00:32


Related issues

Related to TYPO3 Core - Feature #19512: Extend t3lib_div::trimExplode to limit the number of elements Closed 2008-10-27
Related to TYPO3 Core - Feature #19619: Backport OpenID authentication service Closed 2008-11-17
Related to TYPO3 Core - Bug #19683: Extending palettes and fields to be displayed in back-end forms mixes up tabs Closed 2008-12-04

History

#1 Updated by Martin Kutschker about 11 years ago

Fixed in SVN

#2 Updated by Stanislas Rolland about 11 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 about 11 years ago

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

#4 Updated by Oliver Hader about 11 years ago

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

Also available in: Atom PDF