Bug #62570
closedTSconfig -> mod -> wizardItems.[group].elements.[name].icon doesn't work with no other path as 'gfx/c_wiz/icon.gif'
0%
Description
In TSconfig -> mod the property 'wizardItems.[group].elements.[name].icon' is defined as data type 'resource' and described as 'path to the icon'.
But only a path 'gfx/c_wiz/icon.gif' works correct. Some other path etries e.g. 'fileadmin/.../icon.gif' or 'EXT:icon.gif' does'nt work, because the path in HTML output ist wrong, e.g.:
../../../fileadmin/website/all/images/icons/be/icon.gif
../../../EXT:icon.gif
Updated by Riccardo De Contardi over 9 years ago
the bug is still present in TYPO3 6.2.12
the path should begin with /fileadmin/
as far as I can see even a path like:
mod.wizards.newContentElement.wizardItems.common.elements.header = EXT:myext/Resources/Public/Icons/myelement.gif
does not work: the EXT path of the path is not even resolved.
Updated by Riccardo De Contardi over 9 years ago
- Category set to Backend User Interface
Updated by Riccardo De Contardi over 9 years ago
Bug is still somehow present in 7.4-dev (latest master):
1) using:
mod.wizards.newContentElement.wizardItems.common.elements.header.icon = fileadmin/layout-header-icon.png
The icon path is still wrong: the output is:
<img src="fileadmin/layout-header-icon.png" alt="">
2) using instead:
mod.wizards.newContentElement.wizardItems.common.elements.header.icon = EXT:myext/ext_icon.gif
the path is correct:
<img src="../typo3conf/ext/myext/ext_icon.gif" alt="">
Updated by Wouter Wolters about 9 years ago
- Status changed from New to Closed
Hi, we fixed this issue in current master. You can use EXT: now too and also an absolute path like fileadmin/ is possible.
Closing this issue.