In this recipe, we will be using the Mobile tools module to bring mobile device detection to our site. Using this module we will configure the site to display a different theme on detection of a mobile browser.
To complete this recipe you will need to have installed the following module, enabling only the Mobile tools feature:
In order to test the results of this recipe you will need to either have a smartphone, or a smartphone emulator.
We will begin by configuring the Mobile tools module. We will then assign a theme to use when a mobile device has been detected before testing the result.
1. Select Configuration from the admin menu, then select Mobile tools.
2. In the General configuration fieldset, enter the URL of your site in the Mobile URL field, so that the Mobile URL field has the same value as the Desktop URL field:
3. Click on Save configuration.
4. Select the Theme switching tab.
5. Under...