Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Administrator Menu Loses Quicktasks on Save #41268

Open
iamrobert opened this issue Jul 27, 2023 · 3 comments
Open

Custom Administrator Menu Loses Quicktasks on Save #41268

iamrobert opened this issue Jul 27, 2023 · 3 comments

Comments

@iamrobert
Copy link
Contributor

iamrobert commented Jul 27, 2023

When I create a new administrator menu and make changes - the quicklink (+) icon disappears on:

  • categories
  • site modules
  • main menu

It was fixed for articles in 27885.

Steps to reproduce the issue

  1. Create a new Administrator Menu - use the default menu preset
  2. Open the Menu
  3. Edit Content > Categories or Content > Site Modules or Menus > Main Menu etc.
  4. After saving the quick task icon, and URL disappears.

Youtube Steps (Fresh Install):
https://youtu.be/tAVDoDrv-Vk

issue

Issue 2
Export your menu, and its missing:

  • quicktask
  • quicktask-title
  • class?

If you add quicktask via MYSQL - the quicktask is missing on export.

####Expected result

  1. Quick Icon should remain.
  2. Output should include quicktask like defauly.xml does:
<menuitem
			title="MOD_MENU_EXTENSIONS_MODULE_MANAGER_SITE"
			quicktask-title="COM_CONTENT_MENUS_NEW_SITE_MODULE"
			type="component"
			element="com_modules"
			link="index.php?option=com_modules&amp;view=modules&amp;client_id=0"
			quicktask="index.php?option=com_modules&amp;view=select&amp;client_id=0"
		/>

Actual result

  1. Quick Icon Disappears
    issue
  2. Output excludes quicktask:
<menuitem 
type="component" 
title="MOD_MENU_EXTENSIONS_MODULE_MANAGER_SITE" 
link="index.php?option=com_modules&amp;view=modules&amp;client_id=0" 
element="com_modules" class=" "/>

System information (as much as possible)

Joomla 4.4.3

Additional comments

Could the system URL link include the quicktask info?

@brianteeman
Copy link
Contributor

Bug confirmed.

Basically only a few of the admin menu items have the option to "show the new button". The others get it directly from the install sql. As a result as soon as you saved the module you lost the paramater.

Working on a fix

@brianteeman
Copy link
Contributor

Started work on the fixes for the shortcuts at #41272

@Hackwar
Copy link
Member

Hackwar commented Apr 1, 2024

I created a PR for issue 2 in this bug report. Please see #43188 for proper export of the different features. I'm going to work on the first issue later today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants