ACTIONS button with the options Unpublish, Feature, Unfeature, Archive, Check-in, Trash and Batch are are anable.
The ACTIONS button, the submenu does not work. Publish, The options Unpublish, Feature, Unfeature, Archive, Check-in, Trash and Batch are disable.
The Actions dropdown requires the following PHP code to work:
HTMLHelper::_('bootstrap.dropdown', '.dropdown-toggle');
And this code is executed ONLY by the User Status making the dropdown accessible in ALL ACTIONS dropdown menu.
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
Release Blocker
|
labelled as Release Blocker
As far as I see, any HtmlView.php that uses
$dropdown = $toolbar->dropdownButton('status-group')
should get an additional
HTMLHelper::_('bootstrap.dropdown', '.dropdown-toggle');
before or after that line.
The class .dropdown-toggle
comes hardcoded from class DropdownButton extends AbstractGroupButton::prepareOptions(
but I don't think that it is a good idea to place the HTMLHelper
there(????)
it should be a web asset and not an htmlhelper
It not a releas blocker, just a bug
it should be a web asset and not an htmlhelper
Come on folks. Is that really the point here. Use whatever you want in your Joomla.
But the CSS class for 'status-group' is .dropdown-toggle
not .dropdown
like in your PR.
That's the reason why I would prefer it at other code places instead of blindly load not used JS in a JLayout that maybe never is used anywhere.
The output of status-group happens here:
joomla-cms/layouts/joomla/toolbar/dropdown.php
Lines 62 to 64 in fa0849e
It can be whatever a code before has defined for a button also with other classes than .dropdown-toggle
or .dropdown
.
Labels |
Removed:
Release Blocker
|
Closing, because PR
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-08-30 18:14:25 |
Closed_By | ⇒ | Fedik |
This issue is resolved, however other parts of the administration continue to have the issue.
In the administration, Disable the user status module.
Go to home board ..(/administrator/index.php).
We will see the boxes of Site, System, 3drd PArty, etc.
In the upper right part of each box is the icon that shows a submenu that allows you to edit or unpublish.
But this submenu does NOT appear if the User staus module is disabled.
Confirmed. Several dropdowns don't work at several places in backend if module "User Status" is deactivated. Not only Actions dropdowns.
They don't open on click.
J!4.2.1-dev (nightly)
J!4.3.0-dev (nightly)