Issue Feature Closed

#15893New TCA-options for getting labels with user-functions

David Bruehlmeier 03/24/06, 15:33 updated 03/13/07, 15:25

Description

For the 4.5 release, I would like to propose the introduction of two new TCA options which offer the possibility to determine labels in a user-function.

$TCA[‘tx_whatever’][‘ctrl’][‘label_user_func’]
This can be used whenever the label or label_alt options don’t offer enough flexibility, e.g. when you want to look up another table to create your label. The result of this function will overwrite anything found by the regular label or label_alt functionality.

$TCA[‘tx_whatever’][‘columns’][‘my_field’][‘label_user_func’]
This can be used if you wish to determine the label of the field yourself, e.g. depending on a type-field.

(issue imported from #M2979)

Reviews 0

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