Issue Bug Closed

#75577TCA selicon_field feature does not work anymore

Stefan Froemken 04/13/16, 17:01 updated 10/21/17, 17:46

Description

Hello Core-Team,

I have main record which contains a field configuration like:

'color_scheme' => array(
  'exclude' => 1,
  'label' => 'ColorScheme',
  'config' => array(
    'type' => 'select',
    'foreign_table' => 'tx_drstmplmodule_domain_model_colorscheme',
    'foreign_table_where' => 'AND tx_drstmplmodule_domain_model_colorscheme.type=###REC_FIELD_type###',
    'size' => 1,
    'showIconTable' => 1,
    'selicon_cols' => 4,
    'minitems' => 1,
    'maxitems' => 1
  ),
),

https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html#showicontable

In the ctrl part of the foreign table I have following:

'selicon_field' => 'icon',
'selicon_field_path' => 'uploads/media',

This is documented here:

https://docs.typo3.org/typo3cms/TCAReference/Reference/Ctrl/Index.html#selicon-field

Quote: “Field name, which contains the thumbnail image used to represent the record visually whenever it is shown in TCEforms as a foreign reference”.

But I still don’t get any icons below the selectbox.

Reviews 2