Bug #62570
closed
TSconfig -> mod -> wizardItems.[group].elements.[name].icon doesn't work with no other path as 'gfx/c_wiz/icon.gif'
Added by Johannes C. Laxander about 10 years ago.
Updated about 9 years ago.
Category:
Backend User Interface
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
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.
- Category set to Backend User Interface
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="">
- 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.
Also available in: Atom
PDF