Feature #23294
closedAdding new doktype - missing icon in treeview
0%
Description
After upgrading to 4.4.1 the page tree respects my own icons in the pages modules:
$ICON_TYPES['Denmark'] = array('icon' => t3lib_extMgm::extRelPath($_EXTKEY).'flags/denmark.gif');
$TCA['pages']['columns']['module']['config']['items'][] = array('denmark', 'Denmark', t3lib_extMgm::extRelPath($_EXTKEY).'flags/denmark.gif');
But creating a new doktype - the page does not respect my configuration:
global $PAGES_TYPES;
$PAGES_TYPES189 = Array(
"type" => "Directmail",
//"icon" => t3lib_extMgm::extRelPath('tcdirectmail')."mail.gif",
);
array_splice ($TCA["pages"]["columns"]["doktype"]["config"]["items"], 3, 0, array(array(
0 => "LLL:EXT:tcdirectmail/locallang_db.xml:pages.directmailtype",
1 => 189,
2 => t3lib_extMgm::extRelPath('tcdirectmail')."mail.gif"
))
);
$TCA['pages']['types']['189'] = array (
'showitem' => "......",
);
What am I doing wrong / missing?
(issue imported from #M15274)
Updated by Steffen Ritter over 14 years ago
easiest way to solve it:
uncomment the //icon and have a look at your deprecation log...
please update your data accordingly
Updated by Claus Harup over 14 years ago
Brillant advice :-)
Perfect tool - deprecationlog!!!