Download the PHP package eadesignro/module-mobiledetect without Composer
On this page you can find all versions of the php package eadesignro/module-mobiledetect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download eadesignro/module-mobiledetect
More information about eadesignro/module-mobiledetect
Files in eadesignro/module-mobiledetect
Package module-mobiledetect
Short Description Magento 2 EaDesign Mobile Detect System
License AL-2.0
Informations about the package module-mobiledetect
Magento 2 Mobile Detect Theme Change
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.
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.
- 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.
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.
Via composer
Uninstall
You need to remove the module.
All versions of module-mobiledetect with dependencies
magento/module-backend Version 100.1.*
magento/framework Version 100.1.*
magento/module-theme Version 100.1.*
eadesignro/module-eacore Version ^0.0.4
mobiledetect/mobiledetectlib Version 2.8.*