Actions
Bug #14349
closedEnabling $TCA field definition with 'typeicon_column' will not render default icon
Start date:
2004-10-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.7.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If a custom table field is set with ['ctrl']['typeicon_column' ], then there would be a missing icon when no type has been set yet.
At line 137, on class.t3lib_iconworks.php, the code says: if (!$iconfile = $TCA[$table]['ctrl']['typeicons'][$row[$TCA[$table]['ctrl']['typeicon_column']]]) { etc.
Then, as no $iconfile has been set, it will look for it on typo3/gfx/i/ folder (line 143), where obviously only core tables have their icon in.
(issue imported from #M409)
Updated by Carlos Chiari about 20 years ago
Sorry:
Was my mistake: commented out the line with "['ctrl']['iconfile']".
Cala
Actions