[TYPO3-core] RFC #12167: Feature(tte): Enhance report registration API to provide custom icons for reports

Rupert Germann rupi at gmx.li
Wed Oct 14 22:34:17 CEST 2009


arrgh, I was too fast.

Fatal error: Class 'typo3/gfx/warning.png' not found in 
/srv/SVN/forge.typo3.org/Core/trunk/t3lib/class.t3lib_div.php on line 4938

when selecting the reports view instead of the overview.

since we have
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['system']
the reports module thinks that ['icon'] is a class

greets
rupert


Rupert Germann schrieb:
> hi,
> 
> +1 by reading and testing
> 
> greets
> rupert
> 
> 
> 
> Susanne Moog schrieb:
>> Hey,
>>
>> Francois Suter schrieb:
>>> Hi again,
>>>
>>>> 2) Getting a relative file name is never a simple business in TYPO3,
>>>> unless I never noticed some utility method for that. To keep things
>>>> simple I worked on the assumption that an icon would always be
>>>> provided via an extension, so it was ok to act only on a path starting
>>>> with "EXT:" and not any other path.
>>> Thanks to suggestions from Rupi, here's an improved version which is
>>> able to use any icon within the allowed paths.
>>>
>>
>> +1 by reading and testing with
>>
>> $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports']['tx_reports']['status']['icon'] 
>>
>> = 'typo3/gfx/warning.png';
>>
>> Best regards,
>>
>> Susanne
>>


More information about the TYPO3-team-core mailing list