Bug #50573
closed
Some typo3/gfx/*.gif icons are missing
Added by Philipp Gampe almost 11 years ago.
Updated over 6 years ago.
Category:
Backend User Interface
Description
The file has been removed as part of #49112 https://review.typo3.org/#/c/21404/
It is still used in
typo3/sysext/backend/Classes/History/RecordHistory.php 457:
$image = '<img' . IconUtility::skinImg('', 'gfx/unmarkstate.gif') . ' align="top" alt="' . $GLOBALS['LANG']->getLL('unmarkState', 1) . '" title="' . $GLOBALS['LANG']->getLL('unmarkState', 1) . '" />';
Please replace the call by a sprite api call.
- Status changed from New to Accepted
Another one: typo3/sysext/t3skin/icons/gfx/i/default.gif
This one is used in e.g. the new record wizard.
- Subject changed from typo3/gfx/unmarkstate.gif is missing to Some typo3/gfx/*.gif icons are missing
I would like to know if there is anyone who can tell me how it should be done corectly? I checked file TYPO3.CMS/typo3/sysext/t3skin/images/sprites/t3skin.png and i didn't see these images('gfx/unmarkstate.gif' and 'gfx/markstate.gif'). I would like to do this in the following way: add the missing pictures to this image t3skin.png and in the next step create styles for these two images. Finally i want to use method : IconUtility::getSpriteIcon
The icon itself (in PNG format, not GIF) must be added in EXT:t3skin/icons/gfx (it could be another folder than "gfx", but it seems to fit). Then you need to regenerated the sprite by using the sprite generation function of the "extdeveval" extension. For this to be successful make sure that "t3skin" and "core" extensions are writable by your web server, so that extdeveval can write the changes. Three files will be touched:
EXT:core/ext_tables.php
EXT:/t3skin/images/sprites/t3skin.png
EXT:t3skin/stylesheets/sprites/t3skin.css
You will need to include them in your patch.
Thanks for the advice. I'll try to do it tomorrow evening
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF