shopgo / module-admin-theme-switcher
N/A
dev-master
2016-03-17 19:12 UTC
Requires
- php: ~5.5.0|~5.6.0|~7.0.0
- magento/framework: 100.0.*
- magento/module-config: 100.0.*
- magento/module-theme: 100.0.*
This package is not auto-updated.
Last update: 2024-09-14 18:53:14 UTC
README
内容
概要
待办事项
概述
待办事项
安装
以下有两种安装管理员主题切换器模块的方法。随着 Magento 2.0 的发布,您也将能够通过 Magento 市场安装模块。
1. 通过 Composer 安装(推荐)
首先,确保已安装 Composer:https://getcomposer.org/doc/00-intro.md
请确保 Packagist 存储库没有被禁用。
运行 Composer require 安装模块
php <your Composer install dir>/composer.phar require shopgo/module-admin-theme-switcher:~1.0
2. 克隆 admin-theme-switcher 仓库
使用 HTTPS 或 SSH 协议克隆 admin-theme-switcher 仓库。
2.1. 复制代码
为管理员主题切换器模块创建一个目录并将克隆的仓库内容复制到其中
mkdir -p <your Magento install dir>/app/code/ShopGo/AdminThemeSwitcher
cp -R <admin-theme-switcher clone dir>/* <your Magento install dir>/app/code/ShopGo/AdminThemeSwitcher
更新 Magento 数据库和模式
如果您将模块添加到现有的 Magento 安装中,请运行以下命令
php <your Magento install dir>/bin/magento setup:upgrade
验证模块已安装并启用
输入以下命令
php <your Magento install dir>/bin/magento module:status
以下确认您已正确安装模块,并且它已启用
example
List of enabled modules:
...
ShopGo_AdminThemeSwitcher
...
测试
待办事项
贡献者
Ammar (ammar@shopgo.me)