I updated some old extensions where in the backend the
HTMLHELPER::tooltip function is called
works fine, BUT if NOT adding an own image (so the default tooltip.png should be used)
no image appears and instead the ALT text "TOOLTIP"
as I see on some old J3 pages the tooltip.png icon should stay in media\system\images
but there it is not.
just adding the tooltip.png to the media\system\images folder and the icon appears for the tooltip
why is this deleted ?
| Labels |
Added:
No Code Attached Yet
|
||
ok, but why (since it is just 0,5kb)
the function by default is using it ??
Joomla core does not use it any more, it is an old extension. Which one?
Looks like a mistake to me as you are correct the library still exists and its not deprecated and it calls that file
joomla-cms/libraries/src/HTML/HTMLHelper.php
Line 982 in f774153
I think in J6.0.0 with #43598 the folder /media/system/images is not longer protected
in "Directories to skip for the check" in the /build/deleted_file_check.php file:
https://github.com/joomla/joomla-cms/pull/43598/files#diff-d50ef82fcbc2585d19d069ecce4960e52ccd3b1cb396cb543d96379d8082f351
https://github.com/joomla/joomla-cms/blob/5.4.3/build/deleted_file_check.php#L62-L85
https://github.com/joomla/joomla-cms/blob/6.0.0/build/deleted_file_check.php#L62-L70
Edit:
Mistake from me tooltip.png ist not in the function deleteUnexistingFiles at:
https://github.com/joomla/joomla-cms/blob/6.0.0/administrator/components/com_admin/script.php#L405
not talking about update or new install,
but if I have a component which uses an installed core function
it should fully work (including images :) independend if the system is new or updated
The file was removed from NEW installs since the release of Joomla 4.0.0 almost 5 years ago. It was not removed on any site that upgrades from j3