Actions
Feature #66525
closedIconUtility->skinImg source does not allow EXT prefix
Start date:
2015-04-21
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:
Description
pageTSConfig:
wizardItems.[group].elements.[name].icon is defined as image resource. It is possible to either set it via PHP like here: http://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Examples/ContentElementWizard/Index.html with ExtensionManagementUtility::extRelPath or make the path relative with ../../typo3conf/ext/myextension but using EXT:myextension is not working.
Example which should work:
mod.wizards { newContentElement.wizardItems { special { elements { worldmap { icon = EXT:contentelements/Resources/Public/Images/worldmap.gif ... } } show = * } } }
Updated by Simon Schaufelberger over 9 years ago
here is the class: TYPO3\CMS\Backend\Controller\ContentElement\NewContentElementController Line 221 where it is used.
<img' . IconUtility::skinImg($this->doc->backPath, $wInfo['icon'], '') . ' alt="" />
Updated by Benni Mack over 9 years ago
- Category changed from TypoScript to Backend API
- Assignee set to Benni Mack
Actions