Actions
Bug #83468
closedCustom icon for "Folder" is not shown
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2018-01-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I've registered a custom icon for the "Contains" selector in "Page Properties". the code is here
if (TYPO3_MODE === 'BE') {
/** @var \TYPO3\CMS\Core\Imaging\IconRegistry $iconRegistry */
$iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);
$iconRegistry->registerIcon(
'apps-pagetree-folder-contains-partnerads',
\TYPO3\CMS\Core\Imaging\IconProvider\FontawesomeIconProvider::class,
[
'name' => 'rss'
]
);
}
Notice it's a FontAwesome provided icon - dunno if that could cause the missing rendering of the icon
The custom icon is not being displayed in the page tree (see screenshot) but is working as identifier for ex. TCA tables.
!Screen Shot 2018-01-04 at 13.51.18.png!
Choosing the "frontend user" as "Module" gives the expected rendering of the icon, so the support for SVGIcons is working
The icons doesn't seem to be registered in the <defs> part of the pagetree, could that be a reason?
!Screen Shot 2018-01-04 at 14.00.07.png!
Files
Actions