Project

General

Profile

Actions

Feature #66525

closed

IconUtility->skinImg source does not allow EXT prefix

Added by Simon Schaufelberger over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Could have
Assignee:
Category:
Backend API
Target version:
-
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 = *
        }
    }
}

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #46433: Path for the icon in new content element wizardClosed2013-03-19

Actions
Actions #1

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

Updated by Benni Mack over 9 years ago

  • Category changed from TypoScript to Backend API
  • Assignee set to Benni Mack
Actions #3

Updated by Wouter Wolters over 9 years ago

  • Status changed from New to Closed

Resolved with: #46433

Actions

Also available in: Atom PDF