MX Mobile Device Detect User Guide¶
MX Mobile Detect is a small and simple plugin to detect if the template was requested by Mobile Device or not…
Installing & Updating¶
Template Tags¶
- {exp:mobile_detect:device}
- Parameters
- ignore_cookies
- refresh
- {exp:mobile_detect:redirect}
- Parameters
- location
- redirect default mobile
- client optional
- enable on / off
- cookie_name
- cookie_value
- custom_agents
- ignore_cookies
- refresh
- Redirection/Condition for specific device
- Redirection example
- Disable redirection for specific device
- {exp:mobile_detect:pair}
- Parameters
- ignore_cookies = "yes"
- refresh
- Conditional variables
- if mobile
- if not_mobile
- {exp:mobile_detect:screen_detect }
- Settings
- Global Variables
- {screen_width}
- {screen_height}
- {screen_pixel_ratio}
- {screen_size}
- List of devices