Enabling Drupal Website for Access by Mobile Devices

2011-03-10

Pramod Jain

Enabling Drupal Website for Access by Mobile Devices

How to configure Drupal for mobile device access using Mobile_tools and Browscap modules.

Rich content of a Drupal website looks good on a large screen, but is, at best, difficult to read and use on a small screen of a smart phone.

Two modules are required to achieve the desired functionality: Mobile_tools and Browscap. In addition, a theme is required, we will choose Nokia_mobile.

Browscap has a single checkbox for “Monitor Browsers.” It will monitor all user agents that visit the site.

Mobile_tools configuration:

  1. General Configuration - There are two options: Theme switching without redirection, and Redirection.
  2. Extra - In this section specify the landing page for a mobile user.

For Nokia Mobile configuration:

  1. Enable Nokia_Mobile theme
  2. Configure the theme - make sure only basic items are checked
  3. Configure blocks - choose only the bare minimum number of essential blocks to display

Test the theme settings from a mobile device or using Firefox browser with Agent User Switcher extension.