Device Query Parameter
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
Mobile theme by device detection persisted in the URL with a query parameter
Device Query Parameter allows setting a specific theme for mobile devices, using a query parameter persisted in the URL for this mobile version.
Mobile Detect API is used to check if it's a mobile device and in that case redirect to the same path with the persisted query parameter (i.e. ?device=mobile). For "desktop" version no parameter is used, except when from a detected mobile device the user wants to force the desktop version. Cookies are also used to check the previously detected device if there are no parameter in the URL query string.
Just configure (at admin/config/search/device-query-parameter) the mobile theme and the parameter values for mobile and desktop, and also the device parameter key at Persistent URL configuration.
Requirements
Mobile Detect API
Persistent URL > 1.0-beta1+11-dev
