Part of the Views ecosystem · 280 projects
This module allows you to automatically switch the display of a Views block for users on mobile devices. You achieve this by creating a clone of your existing display and appending "_mobile" or "_tablet" to its machine name. The module then handles serving the appropriate display based on the device detected.
Views mobile module provides a mechanism to switch the display of a view when in a mobile device.
Usage
In order to the module work you need to clone the display you want to provide a mobile version and update display's machine name to add "_mobile" or "_tablet" suffix.
e.g: If you have a block display named "featured". You have to clone the "Featured" display and update the machine name of the cloned display to "featured_mobile" or "featured_tablet".
Having the mobile display set the module will take care of switching the display when the user is using a mobile device.
Dependencies
Roadmap
- Add support for Tablet #2561593: Differentiate between mobile (handheld) devices and tablets
Documentation
Drupal 8 / 9 / 10+
https://www.drupal.org/docs/contributed-modules/views-mobile
Drupal 7
Ask your assistant about Views Mobile
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- mobile_detect Drupal core
- views Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Views ecosystem
Most installed first