showitem

showitem
Type
string (list of field names)
Path
$GLOBALS['TCA'][$table]['palettes']
Required
true

Specifies which fields are displayed in which order in the palette, examples:

EXT:my_extension/Configuration/TCA/tx_myextension_table.php (Excerpt)
[
    'showitem' => 'aFieldName, anotherFieldName',
    'showitem' => 'aFieldName;labelOverride, anotherFieldName',
    'showitem' => 'aFieldName, anotherFieldName, --linebreak--, yetAnotherFieldName',
]
Copied!

This string is a comma separated list of field names from ['columns'] section, each field can optionally have a second, semicolon separated field to override the default label property of the field.

Instead of a field name, the special keyword --linebreak-- can be used to place groups of fields on single lines. Note this line grouping only works well if the browser window size allows multiple fields next to each other, if the width is not sufficient the fields will wrap below each other anyways.