mobile phone friendly site?
prameya - October 3, 2006 - 05:25
hey i have drupal setup, and i was wondering if there is an easy way to create a part (copy or something like that...) of the site to be browsed from mobile phones... any one have any suggestion??

For people stumbling on this post, like I seem to often
I've been playing with different methods to run a mobile site. (URLs to my sites on request, let's not make this a self-link-fest.) One site I have m.example.com as a separate sites directory, but using the same database, forcing to use the the "Mobile" theme (which I currently maintain) in the settings.php.
The important line, near the bottom, is:
<?php$conf = array(
'theme_default' => 'mobile'
);
?>
Another site uses the "Mobile Theme" module--yes, this is a module, not a theme--which detects the browser and applies the theme you specify as the one for mobile devices. On this site, I use iUI, which makes it look like the site was developed for an iPhone. So if you go to example.com in a desktop browser, it shows you the Garland theme, but if you visit it on a mobile device, it shows the iUI theme.