Project

General

Profile

Actions

Feature #17611

closed

Add config of parent record for label_userFunc used on a child record

Added by Paints about 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2007-09-18
Due date:
% Done:

0%

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

Description

I have to use a label_userFunc with my extension. If I want to render different labels depending on the foreign_field, its not possible.
I wrote an XCLASS to solve this, and it's only on line in the function 'renderForeignRecordHeader' calss 't3lib_tceforms_inline'.
I submitted also the $config array within the $params and depending on this I can write different functions for the label.
It might be nice, if this line could be integrated in the next update:

55 $params = array(
56 'table' => $foreign_table,
57 'row' => $rec,
58 'title' => '',
59 'isOnSymmetricSide' => $isOnSymmetricSide,
+ 'config' => $config,
60 );

(issue imported from #M6359)


Files

0006359.patch (729 Bytes) 0006359.patch Administrator Admin, 2007-09-18 20:04
Actions

Also available in: Atom PDF