[TYPO3-core] RFC #13487: bugfix: no alternative icon returned from 'getIcon' in class.t3lib_iconworks.php (backend-redesign)
Stephan N Kellermayr
stephan.kellermayr at t3x.at
Sun Mar 28 13:20:57 CEST 2010
just a reminder.
i am about to release a new backend-skin-extension...
if anyone is interested in a redesigned backend (26 different
CSS-packages and two iconsets), then please take a look at this bugfix.
it is not really complex, but the effect is a colorful and handsome
TYPO3-life.
screenshot: http://www.t3x.at/typo3-backend-screenshots.jpg
best regards, Stephan
PS: ...or think about a hook or XCLASS for
't3lib/class.t3lib_iconworks.php', because i would prefer an own
iconstate for 'nav_hide'.
Stephan N Kellermayr schrieb:
> this is an SVN patch request.
>
> type: bugfix
>
> bugtracker references:
> http://bugs.typo3.org/view.php?id=13487
>
> branches:
> trunk, current branch
>
> problem:
> the function 'getIcon' in 't3lib/class.t3lib_iconworks.php' checks if an
> icon with the current states (hidden/timing/futuretiming/protected...)
> is available and returns this.
> but if we are using an extension which overrides some icons AND provides
> additional icons which are NOT available in the source (i.e.: for some
> states which would be normally displayed with 'icon_not_found.gif' or
> the appendix '*__x.gif') it does not return the alternative icon,
> because there is no check to the alternative path given by
> $GLOBALS['TBE_STYLES']['skinImgAutoCfg']['absDir'] which is used by some
> skin-extension (ie t3skin or t3xskin).
> in fact there is no possibility to improve the backend with replacements
> for missing icons at this time.
>
> solution:
> just add an additional filecheck in function 'getIcon'....that would be
> fine for backend-redesigner and other people who wants to improve the
> default icon-set.
> (patch attached: t3lib/class.t3lib_iconworks.php.0013487.diff)
>
> notes:
> none
>
> best regards,
> Stephan N Kellermayr
>
>
> -----------------------------------------------------------------
> this message was sent using horde-webmail, hosted by sonority.eu
> http://www.sonority.eu/
>
More information about the TYPO3-team-core
mailing list