No Code Attached Yet J4 Issue ?
avatar joomdonation
joomdonation
31 Jan 2021

Steps to reproduce the issue

The method published in Joomla\CMS\HTML\Helpers\Grid https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/HTML/Helpers/Grid.php#L190 is used to render published/unpublished icon and allow users to click on to unpublish/publish an item (usually used on list views backend)

If you look at the code of the method, it looks for tick.png and publish_x.png icon under images/admin folder of administrator template, however, these icons are not available in the admin template for Joomla 4, so it is not rendered properly anymore

Expected result

The published/unpublished icon is displayed to allow clicking on to change state of the record

Actual result

The published/unpublished icon is not being displayed

Additional comments

Use published method from Joomla\CMS\HTML\Helpers\JGrid to replace this old method.

avatar joomdonation joomdonation - open - 31 Jan 2021
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jan 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 31 Jan 2021
avatar chmst chmst - change - 1 Feb 2021
Labels Added: ? J4 Issue
avatar chmst chmst - labeled - 1 Feb 2021
avatar chmst chmst - labeled - 1 Feb 2021
avatar sandramay0905
sandramay0905 - comment - 11 Apr 2021

usually used on list views backend

if i understand correct this is solved:

grafik

avatar joomdonation
joomdonation - comment - 11 Apr 2021

Thanks for checking but it is not. This is an old PHP class not used by Joomla core but maybe still uses by third party extensions (but I guess they already migrated code to use new class JGrid already). This is a low priority issue to me

avatar sandramay0905
sandramay0905 - comment - 11 Apr 2021

This is an old PHP class not used by Joomla core but maybe still uses by third party extensions

I guessed that something other is meant than The published/unpublished icon is not being displayed cause if the icons not displayed there are more issues about this reported.

avatar joomdonation joomdonation - change - 12 Nov 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-11-12 11:20:59
Closed_By joomdonation
Labels Added: No Code Attached Yet
Removed: ?
avatar joomdonation joomdonation - close - 12 Nov 2022
avatar joomdonation
joomdonation - comment - 12 Nov 2022

Guess I'm the only one faced this issue, and I have solved this issue in my own extensions long time ago, I'm closing this issue.

Add a Comment

Login with GitHub to post a comment