Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2014-10-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Actions #1

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.
Actions #2

Updated by Riccardo De Contardi over 9 years ago

  • Category set to Backend User Interface
Actions #3

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="">
Actions #4

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.

Actions

Also available in: Atom PDF