akai/magento2-module-admin-theme-switcher

A module that adds an option to switch between admin themes to Magento 2 admin panel

1.0.1 2017-07-06 12:58 UTC

This package is auto-updated.

Last update: 2024-10-16 04:25:24 UTC


README

Build Status Dependency Status Coverage Latest Stable Version License

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.

Authors

License

GNU General Public License version 2