[TYPO3-core] RFC: #11000: User setup - missing 'label' in configuration array
Steffen Kamper
info at sk-typo3.de
Tue Apr 28 16:53:52 CEST 2009
Hi,
this is a SVN patch request.
Type: Feature (Enhancement)
Bugtracker references:
http://bugs.typo3.org/view.php?id=11000 (cheers :-))
Branches: trunk
Next step with user setup:
For the existing settings a labelKey is used to get the label from
locallang.
When user setup is extended, eg by hook, an option 'label' is needed to
set a label for a new added field.
Here is a new tab with one field i tested the patch with:
$dataArray['additional_data'] = array(
'ctrl' => array (
'label' => 'Additional data'
),
'columns' => array(
'beUser_comment' => array(
'type' => 'text',
'form' => '<input id="field_beUser_comment" type="text"
name="ext_beuser[comment]" value="" style="width:192px;" />',
'label' => 'Comment'
)
)
);
What is missing next? i think:
* using the "type" to render the field like TCA does
* inclusion of hooks (new patch is in #10596)
vg Steffen
More information about the TYPO3-team-core
mailing list