2017 © Pedro Peláez
 

magento2-module module-mobiledetect

Magento 2 module that enables automatic theme switching based on the X-UA-Device HTTP header. (Or any other header)

image

eadesignro/module-mobiledetect

Magento 2 module that enables automatic theme switching based on the X-UA-Device HTTP header. (Or any other header)

  • Wednesday, January 17, 2018
  • by eadesignro
  • Repository
  • 7 Watchers
  • 15 Stars
  • 187 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 13 Forks
  • 2 Open issues
  • 10 Versions
  • 0 % Grown

The README.md

Magento 2 Mobile Detect Theme Change

Build Status, (*1)

Magento 2 Mobile detect system can be used to load different themes base on the client device (desktop, tablet, mobile). It uses the library https://github.com/serbanghita/Mobile-Detect., (*2)

How to use the module

The main configuration can be done under the Content > Design > Configuration. There (Design Rule > User Agent Rules) you can add user agent expressions., (*3)

  • add eadesign_is_mobile to load a theme for mobile
  • add eadesign_is_tablet to load a theme for tablet
  • add eadesign_is_desktop to load a theme for desktop

Under system configurations you need to enable the extension. Also there you will find 3 fields for redirects. If you add a url to the mobile field for example the user will be redirected to the url in there. This can be useful if you want to use a different website/store view url for the mobile theme., (*4)

Installation.

You can install the module via composer or manually by adding it to the app/code directory. The module is available on packagist.org., (*5)

Via composer, (*6)

``` bash composer config repositories.magento2-mobiledetect git git@github.com:EaDesgin/magento2-mobiledetect;, (*7)


``` bash composer require eadesignro/module-mobiledetect;

``` bash php bin/magento setup:upgrade;, (*8)


# Uninstall You need to remove the module. ``` bash composer remove eadesignro/module-mobiledetect;

The Versions

17/01 2018

dev-httpheaderthemeswitch

dev-httpheaderthemeswitch

Magento 2 module that enables automatic theme switching based on the X-UA-Device HTTP header. (Or any other header)

  Sources   Download

AFL-3.0

The Requires

  • magento/framework ^100.1.0 | ^101.0.0
  • magento/module-store ^100.1.0 | ^100.2.0

 

The Development Requires

by Lucian Miculescu

12/01 2018

dev-test

dev-test

Magento 2 EaDesign Mobile Detect System

  Sources   Download

AL-2.0

The Requires

 

The Development Requires

11/01 2018

dev-master

9999999-dev

Magento 2 EaDesign Mobile Detect System

  Sources   Download

AL-2.0

The Requires

 

The Development Requires

11/01 2018

dev-feature/Mobile-detect

dev-feature/Mobile-detect

Magento 2 EaDesign Mobile Detect System

  Sources   Download

AL-2.0

The Requires

 

The Development Requires

17/07 2017

1.1.7

1.1.7.0

Magento 2 EaDesign Mobile Detect System

  Sources   Download

AL-2.0

The Requires

 

The Development Requires

11/03 2017

1.1.6

1.1.6.0

Magento 2 EaDesign Mobile Detect System

  Sources   Download

AL-2.0

The Requires

 

The Development Requires

23/02 2017

1.1.5

1.1.5.0

Magento 2 EaDesign Mobile Detect System

  Sources   Download

AL-2.0

The Requires

 

The Development Requires

20/02 2017

1.1.4

1.1.4.0

Magento 2 EaDesign Mobile Detect System

  Sources   Download

AL-2.0

The Requires

 

The Development Requires

09/01 2017

1.1.2

1.1.2.0

Magento 2 EaDesign Mobile Detect System

  Sources   Download

AL-2.0

The Requires

 

The Development Requires

14/12 2016

1.1.1

1.1.1.0

Magento 2 EaDesign Mobile Detect System

  Sources   Download

AL-2.0

The Requires

 

The Development Requires