Hi
I am trying to change the icon for pages and sysfolders by modifying
extTables.php
I can add the label and icon to the list "Contains Plugin" that are used
to set the icon. I do that with this snippet:
$TCA['pages']['columns']['module']['config']['items'][] =
array('mytype', 'mytype', '
Hi Mortens,
tt_news has such a feature, perhaps you may take a look there.
Regards
Kay
Am 19.03.13 12:58, schrieb Morten Kjems:
> Hi
>
> I am trying to change the icon for pages and sysfolders by modifying
> extTables.php
>
> I can add the label and icon to the list "Contains Plugin" that are
Hi,
>> But after clearing cache and reloading the pagetree nothing happens.
You may need to manually clear the sprite cache in typo3temp in addition
to clearing all other caches.
HTH
--
Xavier Perseguers
Release Manager TYPO3 4.6
TYPO3 inspiring people to share!
Get involved: http://typo
> You may need to manually clear the sprite cache in typo3temp in addition
> to clearing all other caches.
Thanks for the suggestion.
I deleted both files in typo3temp/sprites but it had no effect - still
no icon is displayed?
___
TYPO3-english mai
Turns out that $ICON_TYPES are deprecated. Instead this snippet should
be used:
t3lib_SpriteManager::addTcaTypeIcon('pages', 'contains-mytype',
'../fileadmin/images/pageicons/mytype.png');
So the entire snippet end up like this:
$TCA['pages']['columns']['module']['config']['items'][] =
arra