akai / magento2-module-admin-theme-switcher
A module that adds an option to switch between admin themes to Magento 2 admin panel
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: ~5.6.5 || 7.0.2 || 7.0.4 || ~7.0.6 || ~7.1.0
- magento/framework: 100.0.* || 100.1.* || 100.2.*
- magento/module-store: 100.0.* || 100.1.* || 100.2.*
- magento/module-theme: 100.0.* || 100.1.* || 100.2.*
This package is auto-updated.
Last update: 2024-12-16 04:50:58 UTC
README
Contents
Synopsis
A Magento 2 module that allows users to easily switch between admin themes.
Overview
Admin Theme Switcher module adds an option to Magento 2 admin panel
that allows users to switch between admin themes.
The option can be found in stores configuration design page.
(Stores > Configuration > General > Design
)
Under Design Theme
group.
Installation
Below, you can find two ways to install the admin theme switcher module.
1. Install via Composer (Recommended)
First, make sure that Composer is installed: https://getcomposer.org/doc/00-intro.md
Make sure that Packagist repository is not disabled.
Run Composer require to install the module:
php <your Composer install dir>/composer.phar require akai/module-admin-theme-switcher:^1.0
2. Clone the admin-theme-switcher repository
Clone the admin-theme-switcher repository using either the HTTPS or SSH protocols.
2.1. Copy the code
Create a directory for the admin theme switcher module and copy the cloned repository contents to it:
mkdir -p <your Magento install dir>/app/code/Akai/AdminThemeSwitcher
cp -R <admin-theme-switcher clone dir>/* <your Magento install dir>/app/code/Akai/AdminThemeSwitcher
Update the Magento database and schema
If you added the module to an existing Magento installation, run the following command:
php <your Magento install dir>/bin/magento setup:upgrade
Verify the module is installed and enabled
Enter the following command:
php <your Magento install dir>/bin/magento module:status
The following confirms you installed the module correctly, and that it's enabled:
example
List of enabled modules:
...
Akai_AdminThemeSwitcher
...
Tests
Unit tests can be found in the Test/Unit directory.