? ? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
27 May 2019

Pull Request for Issue #25008

Summary of Changes

As title says. Forcing the menu to display.

Testing Instructions

Log in backend as a manager.
The Control Panel admin menu is not displayed.
It is therefore impossible to get back to it after displaying another page

Before patch

Screen Shot 2019-05-27 at 11 10 15

After patch

Screen Shot 2019-05-27 at 11 09 41

avatar infograf768 infograf768 - open - 27 May 2019
avatar infograf768 infograf768 - change - 27 May 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 27 May 2019
Category Modules Administration
avatar infograf768 infograf768 - change - 27 May 2019
Labels Added: ?
avatar brianteeman
brianteeman - comment - 27 May 2019

I have tested this item successfully on 7973873

LGTM


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25012.

avatar brianteeman brianteeman - test_item - 27 May 2019 - Tested successfully
avatar Quy
Quy - comment - 27 May 2019

I have tested this item successfully on 7973873


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25012.

avatar joomla-cms-bot joomla-cms-bot - edited - 27 May 2019
avatar Quy Quy - change - 27 May 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 27 May 2019

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25012.

avatar Quy Quy - test_item - 27 May 2019 - Tested successfully
avatar wilsonge
wilsonge - comment - 27 May 2019

Is this not a problem in 3.x too?

avatar brianteeman
brianteeman - comment - 27 May 2019

no - different homepage

avatar wilsonge
wilsonge - comment - 27 May 2019

What do you mean different home page? Control panel hasn't changed in j4?

avatar brianteeman
brianteeman - comment - 27 May 2019

Sorry I wasn't clear
In Joomla 3 there are two places that take you back to the control panel. The logo and the System->Control panel link

In Joomla 4 there is only one place which is the main menu link

The code that generates these menus (mod_menu) is completely different in j3 and j4

avatar wilsonge wilsonge - change - 27 May 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-05-27 18:59:07
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 27 May 2019
avatar wilsonge wilsonge - merge - 27 May 2019
avatar wilsonge
wilsonge - comment - 27 May 2019

Thanks for the clarification!

avatar infograf768
infograf768 - comment - 28 May 2019

If desired, we can also modify 3.x to get
Screen Shot 2019-05-28 at 09 21 32

The change is easy:
we just have to add in mod_menu/menu.php around line 350

			elseif ($item->element === 'com_cpanel')
			{
				$result[] = $item;
			}

Add a Comment

Login with GitHub to post a comment