Download the PHP package xguenel/module-collapsible-toggle without Composer
On this page you can find all versions of the php package xguenel/module-collapsible-toggle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download xguenel/module-collapsible-toggle
More information about xguenel/module-collapsible-toggle
Files in xguenel/module-collapsible-toggle
Package module-collapsible-toggle
Short Description Magento 2 module that allows you to expand/collapse all collapsible elements in the Magento back-office using keyboard shortcuts.
License MIT
Informations about the package module-collapsible-toggle
Xguenel_CollapsibleToggle
Magento 2 module that allows you to expand/collapse all collapsible elements in the Magento back-office using keyboard shortcuts.
Description
This module adds convenient keyboard shortcuts to improve Magento administrator productivity. It allows you to quickly open or close all collapsible panels on an admin page, particularly useful on system configuration pages.
Features
- Expand All Elements: Opens all collapsible panels on the current page
- Collapse All Elements: Closes all collapsible panels on the current page
- macOS Compatibility: Automatically uses the Command key (⌘) on macOS instead of Ctrl
- Configurable Shortcuts: Shortcut keys can be customized from the administration
- Enable/Disable: The module can be enabled or disabled from the configuration
Supported Elements
The module handles several types of Magento collapsible elements:
- Configuration sections (
.section-config) - Collapsible panels (
[data-role="collapsible"]) - Admin collapsible blocks (
.admin__collapsible-block-wrapper) - Fieldset wrappers (
.fieldset-wrapper)
Requirements
- Magento 2.4.x
- PHP 8.1 or higher
Installation
Manual Installation
-
Create the module directory:
-
Copy the module files to this directory
-
Enable the module:
- Update the database and recompile:
Configuration
Access the module configuration via:
Stores > Configuration > Xguenel Extensions > Collapsible Toggle
Available Options
| Option | Description | Default Value |
|---|---|---|
| Enable Module | Enables or disables the module | Yes |
| Expand All Key | Key to expand all elements (with Ctrl/Cmd + Shift) | A |
Usage
Default Keyboard Shortcuts
| Action | Windows/Linux | macOS |
|---|---|---|
| Expand or Collapse all elements | Ctrl + Shift + A |
⌘ + Shift + A |
How to Use
- Log in to the Magento back-office
- Navigate to a page containing collapsible elements (e.g., System > Configuration)
- Use the keyboard shortcuts to expand/collapse all elements
Module Structure
ACL Permissions
The module defines an ACL permission for configuration access:
Xguenel_CollapsibleToggle::config- Access to module configuration
Browser Compatibility
The module is compatible with all modern browsers supporting:
- ES5 JavaScript
- jQuery (included in Magento)
- The
KeyboardEventAPI - The
User-Agent Client HintsAPI (with fallback tonavigator.userAgentfor older browsers)
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Xguenel
© 2025 Xguenel. All rights reserved.
Support
For any questions or issues, please create an issue in the project repository.
Changelog
Version 1.0.0
- Initial release
- Keyboard shortcuts to expand/collapse collapsible elements
- macOS support with Command key
- Customizable key configuration
- Module enable/disable option