subject: Creating A Mobile Version of Your Drupal Website Part 1 [print this page] Creating A Mobile Version of Your Drupal Website Part 1
As most of you know, Acrossad.org is built on the powerful Content Management System known as Drupal. I built the custom Drupal theme for the website from scratch, but all of the underlying work of creating the website's infrastructure was done by the wonderful Drupal community. One of my great concerns about Acrossad was that the site looked horrible on mobile devices. I would look at the site from my Google/HTC Dream G1 Android phone, and wonder if there was any way that I could actually make the site look acceptable on a mobile device. My answer came today as I was snooping around the Drupal.org website.
One way of creating a mobile version of your Drupal website is to use the Mobile Tools module with the Nokia Mobile Drupal theme. Though the theme is named "Nokia Mobile", it will allow visitors to view your site on any modern platform: Android, Iphone, Windows Phone 7, Blackberry, Ipad etc. I tested it after installation using my G1 and I was extremely happy with the results. You can research and download both components using the links below.
*mobile_tools: 1.
*nokia mobile: 2.
Setting Up Your Mobile Site
Let us assume that this is your website's name:
http://www.yoursite.com/
You can set up your mobile site in one of two ways:
1. You can set up a separate subdomain for the mobile version of your site such as
http://www.m.yoursite.com/
or
2. You can simply have both versions of your site use the same url: